Scalable point cloud compression with transform, and corresponding decompression

ABSTRACT

Innovations in scalable compression and decompression of point cloud data are described. For example, after an encoder uses a transform such as a region-adaptive hierarchical transform (“RAHT”) on attributes of occupied points in point cloud data, the encoder separates transform coefficients into partitions. The partitions can be associated with different regions of a point cloud frame (spatial location scalability), different spatial resolutions of point cloud data (spatial resolution scalability), different reconstruction quality levels (SNR scalability), different point cloud frames organized in temporal layers (temporal resolution scalability), or different combinations of the preceding types of partitions. For decoding, a decoder can select all of the partitions or a subset of the partitions. The decoder decodes encoded data for the selected partitions, applying an inverse transform such as an inverse RAHT to transform coefficients for attributes of occupied points in point cloud data.

FIELD

Scalable compression of three-dimensional point cloud data, and corresponding decompression.

BACKGROUND

Engineers use compression (also called source coding or source encoding) to reduce the bit rate of digital media content. Compression decreases the cost of storing and transmitting media information by converting the information into a lower bit rate form. Decompression (also called decoding) reconstructs a version of the original information from the compressed form. A “codec” is an encoder/decoder system.

Often, compression is applied to digital media content such as speech or other audio, images, or video. Recently, compression has also been applied to point cloud data. A point cloud represents one or more objects in three-dimensional (“3D”) space. A point in the point cloud is associated with a position in the 3D space. If the point is occupied, the point has one or more attributes, such as sample values for a color. An object in the 3D space can be represented as a set of points that cover the surface of the object.

Point cloud data can be captured in various ways. In some configurations, for example, point cloud data is captured using special cameras that measure the depth of objects in a room, in addition to measuring attributes such as colors. After capture and compression, compressed point cloud data can be conveyed to a remote location. This enables decompression and viewing of the reconstructed point cloud data from an arbitrary, free viewpoint at the remote location. One or more views of the reconstructed point cloud data can be rendered using special glasses or another viewing apparatus, to show the subject within a real scene (e.g., for so-called augmented reality) or within a synthetic scene (e.g., for so-called virtual reality). Processing point cloud data can consume a huge amount of computational resources. One point cloud can include millions of occupied points, and a new point cloud can be captured 30 or more times per second for a real time application.

Some prior approaches to compression of point cloud data provide effective compression in terms of rate-distortion performance (that is, high quality for a given number of bits used, or a low number of bits used for a given level of quality). For example, one such approach uses a graph transform and arithmetic coding of coefficients. Such approaches are not computationally efficient, however, which makes them infeasible for real-time processing, even when powerful computer hardware is used (e.g., graphics processing units). Other prior approaches to compression of point cloud data are simpler to perform, but deficient in terms of rate-distortion performance in some scenarios.

Prior approaches to compression and decompression of point cloud data also fail to provide a bitstream of encoded data that can readily be decoded with devices having diverse computational capabilities or quality requirements. For scalable compression and decompression of images and video, a bitstream of encoded data can be separated into partitions representing different regions of an image, different spatial resolutions within an image or region, different levels of quality (often called signal-to-noise ratio (“SNR”) scalability), or different temporal resolutions (i.e., frame rates). Attempts to provide such scalability for point cloud compression and decompression have not been successful, however, in large part due to the complexity of integrating scalability features with underlying compression/decompression operations. In particular, prior approaches to compression and decompression of point cloud data do not support spatial location (random access) scalability or signal-to-noise ratio scalability, and they are impractical for temporal scalability and spatial resolution scalability in many scenarios.

SUMMARY

In summary, the detailed description presents innovations in scalable compression and decompression of point cloud data. For example, after an encoder uses a transform such as a region-adaptive hierarchical transform (“RAHT”) on attributes and/or prediction residuals of occupied points in point cloud data, the encoder separates transform coefficients into partitions. The partitions can be associated with different regions of a point cloud frame (for spatial location scalability, which is also called spatial random access scalability), different spatial resolutions of point cloud data (for spatial resolution scalability), different reconstruction quality levels (for signal-to-noise ratio (“SNR”) scalability), different point cloud frames organized in temporal layers (for temporal resolution scalability), or different combinations of the preceding types of partitions (combining the different types of scalability). For decoding, a decoder can select all of the partitions or a subset of the partitions, depending on the computational capabilities of the decoder, quality requirements for an application, and/or another factor. The decoder decodes encoded data for the selected partitions, applying an inverse transform such as an inverse RAHT to transform coefficients for attributes of occupied points in point cloud data. Thus, scalable compression and decompression of point cloud data is enabled in a manner that is computationally efficient and effective in terms of rate-distortion performance. At the same time, a bitstream created with such scalable compression can be decoded for rendering of point cloud data in a wide range of temporal, spatial, and/or SNR quality levels.

According to one aspect of the innovations described herein, a computer system includes an input buffer, an encoder, and an output buffer. The input buffer is configured to receive point cloud data comprising multiple points in three-dimensional (“3D”) space. Each of the multiple points is associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point. The encoder is configured to scalably encode the point cloud data with multiple partitions, producing encoded data that is separable along the multiple partitions for scalable decoding. In particular, the encoder is configured to perform various operations, including applying a transform such as a region-adaptive hierarchical transform (“RAHT”) to attributes of occupied points among the multiple points, thereby producing transform coefficients. In general, the transform can be an orthonormal transform (such as a RAHT) or biorthogonal transform. The output buffer is configured to store, as part of a bitstream for output, the encoded data that is separable along the multiple partitions.

For corresponding decoding, a computer system includes an input buffer, a decoder, and an output buffer. The input buffer is configured to receive, as part of a bitstream, encoded data that is separable along multiple partitions. The decoder is configured to scalably decode at least some of the multiple partitions of the encoded data to reconstruct point cloud data. The point cloud data includes multiple points in 3D space, each of the multiple points is associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point. In particular, the decoder is configured to perform various operations, including applying an inverse transform such as an inverse RAHT to transform coefficients for attributes of occupied points among the multiple points. In general, the inverse transform can be an inverse orthonormal transform (such as an inverse RAHT) or an inverse biorthogonal transform. The output buffer is configured to store the reconstructed point cloud data.

According to another aspect of the innovations described herein, a computer system includes an input buffer, a partition selector, and a bitstream manipulation tool. The input buffer is configured to receive, as part of a bitstream, encoded data that is separable along multiple partitions. The partition selector is configured to select one or more of the multiple partitions. The bitstream manipulation tool is configured to reorganize the encoded data to include the selected one or more partitions. For example, the bitstream manipulation tool can drop a non-selected partition among the multiple partitions, move one of the selected one or more partitions, and/or combine two or more of the selected one or more partitions. The reorganized encoded data is decodable by decoding operations to reconstruct point cloud data, which includes multiple points in 3D space. Each of the multiple points is associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point. The decoding operations include applying an inverse transform such as an inverse RAHT to transform coefficients for attributes of occupied points among the multiple points. In general, the inverse transform can be an inverse orthonormal transform (such as an inverse RAHT) or an inverse biorthogonal transform. In this way, the bitstream manipulation tool can create an output bitstream that is a scalable bitstream (having multiple partitions) or non-scalable bitstream (having a single, baseline partition).

The innovations can be implemented as part of a method, as part of a computer system configured to perform operations for the method, or as part of one or more computer-readable media storing computer-executable instructions for causing a computer system to perform the operations for the method. The various innovations can be used in combination or separately. This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. The foregoing and other objects, features, and advantages of the invention will become more apparent from the following detailed description, which proceeds with reference to the accompanying figures.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram illustrating an example computer system in which some described embodiments can be implemented.

FIGS. 2a and 2b are diagrams illustrating example network environments in which some described embodiments can be implemented.

FIGS. 3a and 3b are diagrams illustrating example encoders in conjunction with which some described embodiments can be implemented.

FIGS. 4a and 4b are diagrams illustrating example decoders in conjunction with which some described embodiments can be implemented

FIG. 5 is a flowchart illustrating a generalized technique for encoding of point cloud data, including applying a RAHT to attributes of occupied points, and FIG. 6 is a flowchart illustrating an example of details for such encoding.

FIG. 7 is a flowchart illustrating a generalized technique for decoding of point cloud data, including applying an inverse RAHT to transform coefficients for attributes of occupied points, and FIG. 8 is a flowchart illustrating an example of details for such decoding.

FIG. 9 is a diagram illustrating hierarchical organization that may be applied to point cloud data for octtree compression and decompression.

FIG. 10 is a diagram illustrating features of scanning for octtree compression and decompression.

FIGS. 11-14 are diagrams illustrating examples of a transform and inverse transform, respectively, applied along different dimensions for attributes of occupied points of point cloud data.

FIGS. 15-17 are diagrams illustrating features of transforms during coding and inverse transforms during decoding of attributes of occupied points of point cloud data.

FIG. 18 is a diagram illustrating features of a hierarchical weighted transform.

FIGS. 19 and 20 are flowcharts illustrating an example technique for applying a RAHT during coding of attributes of occupied points of point cloud data.

FIGS. 21 and 22 are flowcharts illustrating an example technique for applying an inverse RAHT during decoding of attributes of occupied points of point cloud data.

FIG. 23 is a diagram illustrating features of adaptive entropy coding and decoding of quantized transform coefficients produced by applying a RAHT.

FIGS. 24 and 25 are flowcharts illustrating example techniques for adaptive entropy coding and decoding, respectively, of quantized transform coefficients produced by applying a RAHT.

FIG. 26 is a diagram illustrating partitioning of a time series of point cloud frames for temporal resolution scalability.

FIGS. 27a-27d are diagrams illustrating partitioning of point cloud data for spatial location scalability.

FIGS. 28a and 28b are diagrams illustrating partitioning of point cloud data for spatial resolution scalability.

FIG. 29 is a diagram illustrating partitioning of point cloud data for a combination of spatial location scalability and spatial resolution scalability.

FIGS. 30 and 31 a-31 d are diagrams illustrating example encoders in conjunction with which scalable compression of point cloud data can be implemented.

FIGS. 32 and 33 a-33 d are diagrams illustrating example decoders in conjunction with which scalable decompression of point cloud data can be implemented.

FIG. 34 is a flowchart illustrating a generalized technique for scalable encoding of point cloud data, including applying a transform such as an RAHT to attributes of occupied points.

FIG. 35 is a flowchart illustrating a generalized technique for scalable decoding of point cloud data, including applying an inverse transform such as an inverse RAHT to transform coefficients for attributes of occupied points.

FIG. 36 is a flowchart illustrating a generalized technique for manipulating a bitstream that is separable along multiple partitions.

DETAILED DESCRIPTION

The detailed description presents innovations in scalable compression and decompression of point cloud data. For example, after an encoder uses a transform such as a region-adaptive hierarchical transform (“RAHT”) on attributes of occupied points in point cloud data, the encoder separates transform coefficients into partitions. The partitions can be associated with different regions of a point cloud frame (for spatial location scalability), different spatial resolutions of point cloud data (for spatial resolution scalability), different reconstruction quality levels (for signal-to-noise ratio (“SNR”) scalability), different point cloud frames organized in temporal layers (for temporal resolution scalability), or different combinations of the preceding types of partitions (combining the different types of scalability). For decoding, a decoder can select all of the partitions or a subset of the partitions, depending on the computational capabilities of the decoder, quality requirements for an application, and/or another factor. The decoder decodes encoded data for the selected partitions, applying an inverse transform such as an inverse RAHT to transform coefficients for attributes of occupied points in point cloud data. Thus, scalable compression and decompression of point cloud data is enabled in a manner that is computationally efficient and effective in terms of rate-distortion performance. At the same time, a bitstream created with such scalable compression can be decoded for rendering of point cloud data in a wide range of temporal, spatial, and/or SNR quality levels.

In the examples described herein, identical reference numbers in different figures indicate an identical component, module, or operation. Depending on context, a given component or module may accept a different type of information as input and/or produce a different type of information as output, or be processed in a different way.

More generally, various alternatives to the examples described herein are possible. For example, some of the methods described herein can be altered by changing the ordering of the method acts described, by splitting, repeating, or omitting certain method acts, etc. The various aspects of the disclosed technology can be used in combination or separately. Different embodiments use one or more of the described innovations. Some of the innovations described herein address one or more of the problems noted in the background. Typically, a given technique/tool does not solve all such problems.

I. Example Computer Systems

FIG. 1 illustrates a generalized example of a suitable computer system (100) in which several of the described innovations may be implemented. The computer system (100) is not intended to suggest any limitation as to scope of use or functionality, as the innovations may be implemented in diverse general-purpose or special-purpose computer systems.

With reference to FIG. 1, the computer system (100) includes one or more processing units (110, 115) and memory (120, 125). The processing units (110, 115) execute computer-executable instructions. A processing unit can be a general-purpose central processing unit (“CPU”), processor in an application-specific integrated circuit (“ASIC”) or any other type of processor. In a multi-processing system, multiple processing units execute computer-executable instructions to increase processing power. For example, FIG. 1 shows a CPU (110) as well as a graphics processing unit or co-processing unit (115). The tangible memory (120, 125) may be volatile memory (e.g., registers, cache, RAM), non-volatile memory (e.g., ROM, EEPROM, flash memory, etc.), or some combination of the two, accessible by the processing unit(s). The memory (120, 125) stores software (180) implementing one or more innovations for scalable point cloud compression with a transform such as an RAHT, and corresponding decompression, in the form of computer-executable instructions suitable for execution by the processing unit(s).

A computer system may have additional features. For example, the computer system (100) includes storage (140), one or more input devices (150), one or more output devices (160), and one or more communication connections (170). An interconnection mechanism (not shown) such as a bus, controller, or network interconnects the components of the computer system (100). Typically, operating system software (not shown) provides an operating environment for other software executing in the computer system (100), and coordinates activities of the components of the computer system (100).

The tangible storage (140) may be removable or non-removable, and includes magnetic media such as magnetic disks, magnetic tapes or cassettes, optical media such as CD-ROMs or DVDs, or any other medium which can be used to store information and which can be accessed within the computer system (100). The storage (140) stores instructions for the software (180) implementing one or more innovations for scalable point cloud compression with a transform such as an RAHT, and corresponding decompression.

The input device(s) (150) may be a touch input device such as a keyboard, mouse, pen, or trackball, a voice input device, a scanning device, or another device that provides input to the computer system (100). For point cloud data, the input device(s) (150) may be a set of depth cameras or similar devices that capture video input used to derive point cloud data, or a CD-ROM or CD-RW that reads point cloud data into the computer system (100). The output device(s) (160) may be a display, printer, speaker, CD-writer, or other device that provides output from the computer system (100). For rendering of views of reconstructed point cloud data, the output device(s) (160) may be special glasses or another viewing apparatus, to show the reconstructed point cloud data within a real scene or a synthetic scene.

The communication connection(s) (170) enable communication over a communication medium to another computing entity. The communication medium conveys information such as computer-executable instructions, point cloud data input or encoded point could data output, or other data in a modulated data signal. A modulated data signal is a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media can use an electrical, optical, RF, or other carrier.

The innovations can be described in the general context of computer-readable media. Computer-readable media are any available tangible media that can be accessed within a computing environment. By way of example, and not limitation, with the computer system (100), computer-readable media include memory (120, 125), storage (140), and combinations thereof. Thus, the computer-readable media can be, for example, volatile memory, non-volatile memory, optical media, or magnetic media. As used herein, the term computer-readable media does not include transitory signals or propagating carrier waves.

The innovations can be described in the general context of computer-executable instructions, such as those included in program modules, being executed in a computer system on a target real or virtual processor. Generally, program modules include routines, programs, libraries, objects, classes, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The functionality of the program modules may be combined or split between program modules as desired in various embodiments. Computer-executable instructions for program modules may be executed within a local or distributed computer system.

The terms “system” and “device” are used interchangeably herein. Unless the context clearly indicates otherwise, neither term implies any limitation on a type of computer system or computing device. In general, a computer system or computing device can be local or distributed, and can include any combination of special-purpose hardware and/or general-purpose hardware with software implementing the functionality described herein.

The disclosed methods can also be implemented using specialized computing hardware configured to perform any of the disclosed methods. For example, the disclosed methods can be implemented by an integrated circuit (e.g., an ASIC such as an ASIC digital signal processor (“DSP”), a graphics processing unit (“GPU”), or a programmable logic device (“PLD”) such as a field programmable gate array (“FPGA”)) specially designed or configured to implement any of the disclosed methods.

For the sake of presentation, the detailed description uses terms like “select” and “determine” to describe computer operations in a computer system. These terms are high-level abstractions for operations performed by a computer, and should not be confused with acts performed by a human being. The actual computer operations corresponding to these terms vary depending on implementation.

II. Example Network Environments

FIGS. 2a and 2b show example network environments (201, 202) that include encoders (220) and decoders (270). The encoders (220) and decoders (270) are connected over a network (250) using an appropriate communication protocol. The network (250) can include the Internet or another computer network.

In the network environment (201) shown in FIG. 2a , each real-time communication (“RTC”) tool (210) includes both an encoder (220) and a decoder (270) for bidirectional communication. A given encoder (220) can receive point cloud data and produce, as output, encoded data compliant with a particular format, with a corresponding decoder (270) accepting encoded data from the encoder (220) and decoding it to reconstruct the point cloud data. The bidirectional communication can be part of a conference or other two-party or multi-party communication scenario. Although the network environment (201) in FIG. 2a includes two real-time communication tools (210), the network environment (201) can instead include three or more real-time communication tools (210) that participate in multi-party communication. For multi-party communication, the real-time communication tools (210) can have different computational capacities or different quality requirements.

A real-time communication tool (210) manages encoding by an encoder (220). FIGS. 3a, 3b , 30, and 31 a-31 d show example encoders that can be included in the real-time communication tool (210). Alternatively, the real-time communication tool (210) uses another encoder. A real-time communication tool (210) also manages decoding by a decoder (270). FIGS. 4a, 4b , 32, and 33 a-33 d show example decoders that can be included in the real-time communication tool (210). Alternatively, the real-time communication tool (210) uses another decoder. A real-time communication tool (210) can also include one or more encoders and one or more decoders for other media (e.g., audio).

A real-time communication tool (210) can select one or more partitions of encoded data in a scalable bitstream to convey to its decoder (270). Or, a network node (not shown) can select one or more partitions of encoded data in a scalable bitstream to convey to the decoder(s) (270) of one or more real-time communication tools (210).

A real-time communication tool (210) can also include one or more capture components (not shown) that construct point cloud data based in input video received from capture devices (e.g., depth cameras). For example, the capture component(s) generate a series of frames of point cloud data for one or more objects depicted in the input video. For a given point cloud frame, the capture component(s) process multiple video images from different perspectives of the objects (e.g., 8 video images from different perspectives surrounding the objects) to generate a point cloud in 3D space. For typical frame rates of video capture (such as 15 or 30 frames per second), frames of point cloud data can be generated in real time and provided to the encoder (220).

A real-time communication tool (210) can also include one or more rendering components (not shown) that render views of reconstructed point cloud data. For example, the rendering component(s) generate a view of reconstructed point cloud data, from a perspective in the 3D space, for rendering in special glasses or another rendering apparatus. Views of reconstructed point cloud data can be generated in real time as the perspective changes and as new point cloud data is reconstructed.

In the network environment (202) shown in FIG. 2b , an encoding tool (212) includes an encoder (220) that receives point cloud data and encodes it for delivery to multiple playback tools (214), which include decoders (270). The unidirectional communication can be provided for a surveillance system or monitoring system, remote conferencing presentation or sharing, gaming, or other scenario in which point cloud data is encoded and sent from one location to one or more other locations. Although the network environment (202) in FIG. 2b includes two playback tools (214), the network environment (202) can include more or fewer playback tools (214). The playback tools (214) can have different computational capacities or different quality requirements. In general, a playback tool (214) communicates with the encoding tool (212) to determine a stream of point cloud data for the playback tool (214) to receive. The playback tool (214) receives the stream, buffers the received encoded data for an appropriate period, and begins decoding and playback.

FIGS. 3a, 3b , 30, and 31 a-31 d show example encoders that can be included in the encoding tool (212). Alternatively, the encoding tool (212) uses another encoder. The encoding tool (212) can also include server-side controller logic for managing connections with one or more playback tools (214). For example, the server-side controller logic can control how partitions are imposed in scalable compression of point cloud data. An encoding tool (212) can also include one or more encoders for other media (e.g., audio) and/or capture components (not shown). A playback tool (214) can include client-side controller logic for managing connections with the encoding tool (212). For example, the client-side controller logic can request or specify how partitions are imposed in scalable compression of point cloud data. FIGS. 4a, 4b , 32, and 33 a-33 d show example decoders that can be included in the playback tool (214). Alternatively, the playback tool (214) uses another decoder. A playback tool (214) can also include one or more decoders for other media (e.g., audio) and/or rendering components (not shown).

A playback tool (214) can select one or more partitions of encoded data in a scalable bitstream to convey to its decoder (270). Or, a network node (not shown) can select one or more partitions of encoded data in a scalable bitstream to convey to the decoder(s) (270) of one or more playback tools (214).

III. Example Encoders

FIGS. 3a and 3b show example encoders (301, 302) in conjunction with which some described embodiments may be implemented for non-scalable compression of point cloud data. The encoder (301) of FIG. 3a is used for intra-frame compression of a single point cloud frame, which exploits spatial redundancy in point cloud data. The encoder (301) of FIG. 3a can be used iteratively to compress individual frames of point cloud data in a time series. Or, the encoder (302) of FIG. 3b can be used for inter-frame compression of a time series of point cloud frames, which also exploits temporal redundancy between the point cloud frames in the time series.

Each of the encoders (301, 302) can be part of a general-purpose encoding tool capable of operating in any of multiple encoding modes such as a low-latency encoding mode for real-time communication and a higher-latency encoding mode for producing media for playback from a file or stream, or it can be a special-purpose encoding tool adapted for one such encoding mode. Each of the encoders (301, 302) can be implemented as part of an operating system module, as part of an application library, as part of a standalone application, or using special-purpose hardware.

The input buffer (310) is memory configured to receive and store point cloud data (305). The input buffer (310) receives point cloud data (305) from a source. The source can be one or more capture components that receive input video from a set of cameras (e.g., depth cameras) or other digital video source. The source produces a sequence of frames of point cloud data at a rate of, for example, 30 frames per second. As used herein, the term “frame of point cloud data” or “point cloud frame” generally refers to source, coded or reconstructed point cloud data at a given instance of time. A point cloud frame can depict an entire model of objects in a 3D space at a given instance of time. Or, a point cloud frame can depict a single object or region of interest in the 3D space at a given instance of time.

In the input buffer (310), the point cloud data (305) includes geometry data (312) for points as well as attributes (314) of occupied points. The geometry data (312) includes indicators of which of the points of the point cloud data (305) are occupied (that is, have at least one attribute). For example, for each of the points of the point cloud data (305), a flag value indicates whether or not the point is occupied. (Alternatively, a point of the point cloud can be implicitly flagged as occupied simply by virtue of being included in a list of occupied points, which is encoded and transmitted.) An occupied point has one or more attributes (314) in the point cloud data (305). The attributes (314) associated with occupied points depend on implementation (e.g., data produced by capture components, data processed by rendering components). For example, the attribute(s) for an occupied point can include: (1) one or more sample values each defining, at least in part, a color associated with the occupied point (e.g., YUV sample values, RGB sample values, or sample values in some other color space); (2) an opacity value defining, at least in part, an opacity associated with the occupied point; (3) a specularity value defining, at least in part, a specularity coefficient associated with the occupied point; (4) one or more surface normal values defining, at least in part, direction of a flat surface associated with the occupied point; (5) a light field defining, at least in part, a set of light rays passing through or reflected from the occupied point; and/or (6) a motion vector defining, at least in part, motion associated with the occupied point. Alternatively, attribute(s) for an occupied point include other and/or additional types of information. During later stages of encoding with the encoder (302) of FIG. 3b , the transformed value(s) for an occupied point can also include: (7) one or more sample values each defining, at least in part, a residual associated with the occupied point.

An arriving point cloud frame is stored in the input buffer (310). The input buffer (310) can include multiple frame storage areas. After one or more of the frames have been stored in input buffer (310), a selector (not shown) selects an individual point cloud frame to encode as the current point cloud frame. The order in which frames are selected by the selector for input to the encoder (301, 302) may differ from the order in which the frames are produced by the capture components, e.g., the encoding of some frames may be delayed in order, so as to allow some later frames to be encoded first and to thus facilitate temporally backward prediction. Before the encoder (301, 302), the system can include a pre-processor (not shown) that performs pre-processing (e.g., filtering) of the current point cloud frame before encoding. The pre-processing can include color space conversion into primary (e.g., luma) and secondary (e.g., chroma differences toward red and toward blue) components, resampling, and/or other filtering.

In general, a volumetric element, or voxel, is a set of one or more collocated attributes for a location in 3D space. For purposes of encoding, attributes can be grouped on a voxel-by-voxel basis. Or, to simplify implementation, attributes can be grouped for encoding on an attribute-by-attribute basis (e.g., encoding a first component plane for luma (Y) sample values for points of the frame, then encoding a second component plane for first chroma (U) sample values for points of the frame, then encoding a third component plane for second chroma (V) sample values for points of the frame, and so on). Typically, the geometry data (312) is the same for all attributes of a point cloud frame—each occupied point has values for the same set of attributes. Alternatively, however, different occupied points can have different sets of attributes.

The encoder (301, 302) can include a tiling module (not shown) that partitions a point cloud frame into tiles of the same size or different sizes. For example, the tiling module splits the frame along tile rows, tile columns, etc. that, with frame boundaries, define boundaries of tiles within the frame, where each tile is a rectangular prism region. Tiles can be used to provide options for parallel processing. The content of a frame or tile can be further partitioned into blocks or other sets of points for purposes of encoding and decoding. In general, a “block” of point cloud data is a set of points in an x×y×z rectangular prism. Points of the block may be occupied or not occupied. When attributes are organized in an attribute-by-attribute manner, the values of one attribute for occupied points of a block can be grouped together for processing.

The encoder (301, 302) also includes a general encoding control (not shown), which receives the current point cloud frame as well as feedback from various modules of the encoder (301, 302). Overall, the general encoding control provides control signals to other modules (such as the intra/inter switch (338), tiling module, transformer (340), inverse transformer (345), quantizer (350), inverse quantizer (355), motion estimator (372), and entropy coder(s) (380)) to set and change coding parameters during encoding. The general encoding control can evaluate intermediate results during encoding, typically considering bit rate costs and/or distortion costs for different options. In particular, in the encoder (302) of FIG. 3b , the general encoding control decides whether to use intra-frame compression or inter-frame compression for attributes of occupied points in blocks of the current point cloud frame. The general encoding control produces general control data that indicates decisions made during encoding, so that a corresponding decoder can make consistent decisions. The general control data is provided to the multiplexer (390).

With reference to FIG. 3a , the encoder (301) receives point cloud data (305) from the input buffer (310) and produces encoded data (395) using intra-frame compression, for output to the output buffer (392). The encoder (301) includes an octtree coder (320), a region-adaptive hierarchical transformer (340), a quantizer (350), one or more entropy coders (380), and a multiplexer (390).

As part of receiving the encoded data (305), the encoder (301) receives the geometry data (312), which is passed to the octtree coder (320) and region-adaptive hierarchical transformer (340). The octtree coder (320) compresses the geometry data (312). For example, the octtree coder (320) applies lossless compression to the geometry data (312) as described in section V.C. Alternatively, the octtree coder (320) compresses the geometry data (312) in some other way (e.g., lossy compression, in which case a reconstructed version of the geometry data (312) is passed to the region-adaptive hierarchical transformer (340) instead of the original geometry data (312)). The octtree coder (320) passes the compressed geometry data to the multiplexer (390), which formats the compressed geometry data to be part of the encoded data (395) for output.

As part of receiving the encoded data (305), the encoder (301) also receives the attributes (314), which are passed to the region-adaptive hierarchical transformer (340). The region-adaptive hierarchical transformer (340) uses the received geometry data (312) when deciding how to apply a RAHT to attributes (314). For example, the region-adaptive hierarchical transformer (340) applies a RAHT to the attributes (314) of occupied points as described in section V.D. Alternatively, the region-adaptive hierarchical transformer (340) applies a RAHT that is region-adaptive (processing attributes for occupied points) and hierarchical (passing coefficients from one level to another level for additional processing) in some other way. The region-adaptive hierarchical transformer (340) passes the transform coefficients resulting from the RAHT to the quantizer (350).

The quantizer (350) quantizes the transform coefficients. For example, the quantizer (350) applies uniform scalar quantization to the transform coefficients as described in section V.E. Alternatively, the quantizer (350) applies quantization in some other way. The quantizer (350) can change the quantization step size on a frame-by-frame basis. Alternatively, the quantizer (350) can change the quantization step size on a tile-by-tile basis, block-by-block basis, or other basis. The quantization step size can depend on a quantization parameter (“QP”), whose value is set for a frame, tile, block, and/or other portion of point cloud data. The quantizer (350) passes the quantized transform coefficients to the one or more entropy coders (380).

The entropy coder(s) (380) entropy code the quantized transform coefficients. When entropy coding the quantized transform coefficients, the entropy coder(s) (380) can use arithmetic coding, run-length Golomb-Rice coding, or some other type of entropy coding (e.g., Exponential-Golomb coding, variable length coding, dictionary coding). In particular, the entropy coder(s) (380) can apply one of the variations of adaptive entropy coding described in section V.E. Alternatively, the entropy coder(s) (380) apply some other form of adaptive or non-adaptive entropy coding to the quantized transform coefficients. The entropy coder(s) (380) can also encode general control data, QP values, and other side information (e.g., mode decisions, parameter choices). For the encoder (302) of FIG. 3b , the entropy coder(s) (380) can encode motion data (378). The entropy coder(s) (380) can use different coding techniques for different kinds of information, and they can apply multiple techniques in combination. The entropy coder(s) (380) pass the results of the entropy coding to the multiplexer (390), which formats the coded transform coefficients and other data to be part of the encoded data (395) for output. When the entropy coder(s) (380) use parameters to adapt entropy coding (e.g., estimates of distribution of quantized transform coefficients for buckets, as described in section V.E), the entropy coder(s) (380) also code the parameters and pass them to the multiplexer (390), which formats the coded parameters to be part of the encoded data (395).

With reference to FIG. 3b , the encoder (302) further includes an inverse quantizer (355), inverse region-adaptive hierarchical transformer (345), motion compensator (370), motion estimator (372), reference frame buffer (374), and intra/inter switch (338). The octtree coder (320) operates as in the encoder (301) of FIG. 3a . The region-adaptive hierarchical transformer (340), quantizer (350), and entropy coder(s) (380) of the encoder (302) of FIG. 3b essentially operate as in the encoder (301) of FIG. 3a , but may process residual values for any of the attributes of occupied points.

When a block of the current point cloud frame is compressed using inter-frame compression, the motion estimator (372) estimates the motion of attributes of the block with respect to one or more reference frames of point cloud data. The current point cloud frame can be entirely or partially coded using inter-frame compression. The reference frame buffer (374) buffers one or more reconstructed previously coded/decoded point cloud frames for use as reference frames. When multiple reference frames are used, the multiple reference frames can be from different temporal directions or the same temporal direction. As part of the general control data, the encoder (302) can include information that indicates how to update the reference frame buffer (374), e.g., removing a reconstructed point cloud frame, adding a newly reconstructed point cloud frame.

The motion estimator (372) produces motion data (378) as side information. The motion data (378) can include motion vector (“MV”) data and reference frame selection data. The motion data (378) is provided to one of the entropy coder(s) (380) or the multiplexer (390) as well as the motion compensator (370). The motion compensator (370) applies MV(s) for a block to the reconstructed reference frame(s) from the reference frame buffer (374). For the block, the motion compensator (370) produces a motion-compensated prediction, which is a region of attributes in the reference frame(s) that are used to generate motion-compensated prediction values (376) for the block.

As shown in FIG. 3b , the intra/inter switch (338) selects whether a given block is compressed using intra-frame compression or inter-frame compression. Intra/inter switch (338) decisions for blocks of the current point cloud frame can be made using various criteria.

When inter-frame compression is used for a block, the encoder (302) can determine whether or not to encode and transmit the differences (if any) between prediction values (376) and corresponding original attributes (314). The differences (if any) between the prediction values (376) and corresponding original attributes (314) provide values of the prediction residual. If encoded/transmitted, the values of the prediction residual are encoded using the region-adaptive hierarchical transformer (340), quantizer (350), and entropy coder(s) (380), as described above, with reference to FIG. 3a . (In practice, calculating the differences between the prediction values (376) and corresponding original attributes (314) may be difficult because the number of points in the prediction block and original block may not be the same. In this case, since simple arithmetic differencing is not possible on a point-by-point basis, the original attributes cannot simply be subtracted from corresponding prediction values. To address this problem, for a prediction value that does not have a corresponding original attribute, the encoder can estimate (e.g., by interpolation or extrapolation using original attributes) the missing attribute, and calculate the prediction residual as the difference between the prediction value and estimated attribute. Or, to avoid this problem, the prediction residual values are not encoded at all. In this case, paths and components of the encoder (302) used to determine the prediction residual values and add reconstructed residual values to prediction values (376) can be omitted. Such paths and components, including the differencing module, switch (338), and addition module, are shown as optional in FIG. 3b .)

In the encoder (302) of FIG. 3b , a decoding process emulator implements some of the functionality of a decoder. The decoding process emulator determines whether a given frame needs to be reconstructed and stored for use as a reference frame for inter-frame compression of subsequent frames. For reconstruction, the inverse quantizer (355) performs inverse quantization on the quantized transform coefficients, inverting whatever quantization was applied by the quantizer (350). The inverse region-adaptive hierarchical transformer (345) performs an inverse RAHT, inverting whatever RAHT was applied by the region-adaptive hierarchical transformer (340), and thereby producing blocks of reconstructed residual values (if inter-frame compression was used) or reconstructed attributes (if intra-frame compression was used). When inter-frame compression has been used (inter path at switch (339)), reconstructed residual values, if any, are combined with the prediction values (376) to produce a reconstruction (348) of the attributes of occupied points for the current point cloud frame. (If the encoder (302) does not encode prediction residual values, for reasons explained above, the prediction values (376) can be directly used as the reconstructed attributes (348), bypassing the addition component.) When intra-frame compression has been used (intra path at switch (339)), the encoder (302) uses the reconstructed attributes (348) produced by the inverse region-adaptive hierarchical transformer (345). The reference frame buffer (374) stores the reconstructed attributes (348) for use in motion-compensated prediction of attributes of subsequent frames. The reconstructed attributes (348) can be further filtered. A filtering control (not shown) can determine how to perform filtering on reconstructed attributes (348), and one or more filters (not shown) can perform the filtering. The filtering control can produce filter control data, which is provided to the entropy coder(s) (380) and multiplexer (390).

The output buffer (392) is memory configured to receive and store the encoded data (395). The encoded data (395) that is aggregated in the output buffer (390) can also include metadata relating to the encoded data. The encoded data can be further processed by a channel encoder (not shown), which can implement one or more media system multiplexing protocols or transport protocols. The channel encoder provides output to a channel (not shown), which represents storage, a communications connection, or another channel for the output.

Depending on implementation and the type of compression desired, modules of the encoders (301, 302) can be added, omitted, split into multiple modules, combined with other modules, and/or replaced with like modules. In alternative embodiments, encoders with different modules and/or other configurations of modules perform one or more of the described techniques. Specific embodiments of encoders typically use a variation or supplemented version of one of the encoders (301, 302). The relationships shown between modules within the encoders (301, 302) indicate general flows of information in the respective encoders (301, 302); other relationships are not shown for the sake of simplicity. In general, a given module of the encoders (301, 302) can be implemented by software executable on a CPU, by software controlling special-purpose hardware (e.g., graphics hardware for video acceleration), or by special-purpose hardware (e.g., in an ASIC).

IV. Example Decoders

FIGS. 4a and 4b show example decoders (401, 402) in conjunction with which some described embodiments may be implemented for non-scalable decompression of point cloud data. The decoder (401) of FIG. 4a is used for intra-frame decompression of a single point cloud frame, and it can be used iteratively to decompress individual frames of point cloud data in a time series. Or, the decoder (402) of FIG. 4b can be used for inter-frame decompression of a time series of point cloud frames.

Each of the decoders (401, 402) can be a general-purpose decoding tool capable of operating in any of multiple decoding modes such as a low-latency decoding mode for real-time communication and a higher-latency decoding mode for media playback from a file or stream, or it can be a special-purpose decoding tool adapted for one such decoding mode. Each of the decoders (401, 402) can be implemented as part of an operating system module, as part of an application library, as part of a standalone application or using special-purpose hardware.

The input buffer (492) is memory configured to receive and store encoded data (495). The input buffer (492) receives the encoded data (495) from a channel, which can represent storage, a communications connection, or another channel for encoded data as input. The channel produces encoded data (495) that has been channel coded. A channel decoder (not shown), implementing one or more media system demultiplexing protocols or transport protocols, can process the channel coded data. The encoded data (495) that is output from the channel decoder is stored in the input buffer (492) until a sufficient quantity of such data has been received. The encoded data (495) that is aggregated in the input buffer (492) can include metadata relating to the encoded data. In general, the input buffer (492) temporarily stores encoded data (495) until such encoded data (495) is used by the decoder (401, 402). At that point, encoded data for a coded point cloud frame is transferred from the input buffer (492) to the decoder (401, 402). As decoding continues, new encoded data (495) is added to the input buffer (492) and the oldest encoded data (495) remaining in the input buffer (492) is transferred to the decoder (401, 402).

In the input buffer (492), the encoded data (495) includes encoded data for geometry data (412) as well as encoded data for attributes (414) of occupied points. The geometry data (412) includes indicators of which of the points of the reconstructed point cloud data (405) are occupied (that is, have at least one attribute). For example, for each of the points, a flag value indicates whether or not the point is occupied. An occupied point has one or more attributes (414) in the reconstructed point cloud data (405). The attributes (414) associated with occupied points depend on implementation (e.g., data produced by capture components, data processed by rendering components). For example, the attribute(s) for an occupied point can include: (1) one or more sample values each defining, at least in part, a color associated with the occupied point (e.g., YUV sample values, RGB sample values, or sample values in some other color space); (2) an opacity value defining, at least in part, an opacity associated with the occupied point; (3) a specularity value defining, at least in part, a specularity coefficient associated with the occupied point; (4) one or more surface normal values defining, at least in part, direction of a flat surface associated with the occupied point; (5) a light field defining, at least in part, a set of light rays passing through or reflected from the occupied point; and/or (6) a motion vector defining, at least in part, motion associated with the occupied point. Alternatively, attribute(s) for an occupied point include other and/or additional types of information. For decoding with the decoder (402) of FIG. 4b , the transform value(s) for an occupied point can also include: (7) one or more sample values each defining, at least in part, a residual associated with the occupied point.

For purposes of decoding, attributes can be grouped on a voxel-by-voxel basis. Or, to simplify implementation, attributes can be grouped for decoding on an attribute-by-attribute basis (e.g., decoding a first component plane for luma (Y) sample values for points of the frame, then decoding a second component plane for first chroma (U) sample values for points of the frame, then decoding a third component plane for second chroma (V) sample values for points of the frame, and so on). Typically, the geometry data (412) is the same for all attributes of a point cloud frame—each occupied point has values for the same set of attributes. Alternatively, however, different occupied points can have different sets of attributes.

With reference to FIG. 4a , the decoder (401) receives encoded data (495) from the input buffer (492) and produces reconstructed point cloud data (405) using intra-frame decompression, for output to the output buffer (410). The decoder (401) includes an octtree decoder (420), an inverse region-adaptive hierarchical transformer (445), an inverse quantizer (455), one or more entropy coders (480), and a demultiplexer (490). For purposes of decoding, a point cloud frame can be organized into multiple tiles of the same size or different sizes. The content of a point cloud frame or tile can be further organized as blocks or other sets of sample values.

The demultiplexer (490) receives encoded data (495) and parses elements of the encoded data (495) from a bitstream. The demultiplexer (490) makes the received encoded data (495) available to one or more entropy decoders (480) and/or other modules of the decoder (401).

The entropy decoder(s) (480) entropy decode the quantized transform coefficients. When entropy decoding the quantized transform coefficients, the entropy decoder(s) (480) can use arithmetic decoding, run-length Golomb-Rice decoding, or some other type of entropy decoding (e.g., Exponential-Golomb decoding, variable length decoding, dictionary decoding). In particular, the entropy decoder(s) (480) can apply one of the variations of adaptive entropy decoding described in section V.E. Alternatively, the entropy decoder(s) (480) apply some other form of adaptive or non-adaptive entropy decoding to the quantized transform coefficients. The entropy decoder(s) (480) can also decode general control data, QP values, and other side information (e.g., mode decisions, parameter choices). The entropy decoder(s) (480) can use different decoding techniques for different kinds of information, and they can apply multiple techniques in combination. When the entropy decoder(s) (480) use parameters to adapt entropy decoding (e.g., estimates of distribution of quantized transform coefficients for buckets, as described in section V.E), the entropy decoder(s) (480) also decode the parameters before decoding the quantized transform coefficients.

The decoder (401) includes a general decoding control (not shown), which receives general control data from the demultiplexer (490) and/or entropy decoder(s) (480). The general decoding control provides control signals (not shown) to other modules (such as the inverse quantizer (455), inverse region-adaptive hierarchical transformer (445), and entropy decoder(s) (480)) to set and change decoding parameters during decoding.

The octtree decoder (420) receives compressed geometry data from the demultiplexer (490) or entropy decoder(s) (480) and decompresses the geometry data (412). The octtree decoder (420) passes the geometry data (412) to the output buffer (410) and to the inverse region-adaptive hierarchical transformer (445). For example, the octtree decoder (420) applies lossless decompression to the compressed geometry data as described in section V.C. Alternatively, the octtree decoder (420) decompresses the geometry data (412) in some other way (e.g., lossy decompression, in which case a lossy-reconstructed version of the geometry data (412) is passed to the inverse region-adaptive hierarchical transformer (445)).

The inverse quantizer (455) receives quantized transform coefficients from the entropy decoders (480) and inverse quantizes the transform coefficients. For example, the inverse quantizer (455) inverts uniform scalar quantization previously applied to the transform coefficients as described in section V.E. Alternatively, the inverse quantizer (455) performs inverse quantization in some other way. Based on QPs that it receives, the inverse quantizer (455) can change the quantization step size on a frame-by-frame basis. Alternatively, the inverse quantizer (455) can change the quantization step size on a tile-by-tile basis, block-by-block basis, or other basis. The inverse quantizer (455) passes the transform coefficients to the inverse region-adaptive hierarchical transformer (445).

With the geometry data (412) received from the octtree decoder (420) and the transform coefficients received from the inverse quantizer (445), the inverse region-adaptive hierarchical transformer (445) applies an inverse RAHT to the transform coefficients to reconstruct attributes (414) of occupied points. The inverse region-adaptive hierarchical transformer (445) uses the received geometry data (412) when deciding how to apply the inverse RAHT to reconstruct attributes (414). For example, the inverse region-adaptive hierarchical transformer (445) applies an inverse RAHT to reconstruct attributes (414) of occupied points as described in section V.D. Alternatively, the inverse region-adaptive hierarchical transformer (445) applies an inverse RAHT that is region-adaptive (processing attributes for occupied points) and hierarchical (passing attributes from one level to another level for additional processing) in some other way. In FIG. 4a , the inverse region-adaptive hierarchical transformer (445) passes the reconstructed attributes (414) resulting from the inverse RAHT to the output buffer (410).

With reference to the decoder (402) of FIG. 4b , the octtree decoder (420) operates as in the decoder (401) of FIG. 4a . The inverse region-adaptive hierarchical transformer (445), inverse quantizer (455), and entropy decoder(s) (480) of the decoder (402) of FIG. 4b essentially operate as in the decoder (401) of FIG. 4a , but may process residual values for any of the attributes of occupied points. Also, for the decoder (402) of FIG. 4b , the entropy decoder(s) (480) can decode motion data (478). The decoder (402) of FIG. 4b further includes an intra/inter switch (439), a motion compensator (470), and a reference frame buffer (474). In addition to other control functions, a general decoding control provides control signals to the intra/inter switch (439), motion compensator (470), and reference frame buffer (474)) to set and change decoding parameters during decoding.

The decoder (402) of FIG. 4b determines whether a given point cloud frame needs to be stored for use as a reference frame for inter-frame decompression of subsequent frames. The reference frame buffer (474) buffers one or more reconstructed previously decoded point cloud frames for use as reference frames. When multiple reference frames are used, the multiple reference frames can be from different temporal directions or the same temporal direction. As part of the general control data, the decoder (402) can receive information that indicates how to update the reference frame buffer (474), e.g., removing a reconstructed point cloud frame, adding a newly reconstructed point cloud frame.

As shown in FIG. 4b , the intra/inter switch (439) selects whether a given block is decompressed using intra-frame decompression or inter-frame decompression. Intra/inter switch (439) decisions for blocks of the current point cloud frame can be indicated as part of the general control data. The current point cloud frame can be entirely or partially decoded using inter-frame decompression. The inverse region-adaptive hierarchical transformer (445) can produce blocks of reconstructed residual values (if inter-frame decompression is used) or reconstructed attributes (if intra-frame decompression is used). When inter-frame decompression is used (inter path at switch (439)), reconstructed residual values, if any, are combined with the prediction values (476) to produce a reconstruction of the attributes of occupied points for the current point cloud frame. (If the encoder (302) does not encode prediction residual values, for reasons explained above, then the decoder (402) does not decode any prediction residual values. In this case, the prediction values (476) can be directly used as the reconstructed attributes, bypassing the addition component. The path to the addition component, and the addition component, are shown as optional in FIG. 4b .) When intra-frame compression is used (intra path at switch (439)), the decoder (402) uses the reconstructed attributes produced by the inverse region-adaptive hierarchical transformer (445). The reference frame buffer (474) stores the reconstructed attributes for use in motion-compensated prediction of attributes of subsequent frames. The reconstructed attributes can be further filtered. One or more filters (not shown) can perform the filtering based on filter control data, which is provided by the entropy decoder(s) (480) or demultiplexer (490).

The motion compensator (470) receives motion data (478) from the entropy decoder(s) (480) or demultiplexer (490). The motion data (478) can include MV data and reference frame selection data. The motion compensator (470) applies MV(s) for a block to the reconstructed reference frame(s) from the reference frame buffer (474). For the block, the motion compensator (470) produces a motion-compensated prediction, which is a region of attributes in the reference frame(s) that are used to generate motion-compensated prediction values (476) for the block.

The output buffer (410) is memory configured to receive and store reconstructed point cloud data (405). For the reconstructed point cloud data (405), the decoder (401, 402) outputs geometry data (412) and reconstructed attributes (414) for occupied points to the output buffer (410). The output buffer (410) provides the reconstructed point cloud data (405) to a sink, e.g., one or more rendering components that generate one or more views of the reconstructed point cloud data (405). The output buffer (410) can include multiple frame storage areas. An output sequencer (not shown) can identify when the next point cloud frame to be produced in output order is available in the output buffer (410). When the next point cloud frame to be produced in output order is available in the output buffer (410), it is read by the output sequencer and output to the sink. In general, the order in which point cloud frames are output from the output buffer (410) may differ from the order in which the point cloud frames are decoded by the decoder (401, 402) (bitstream order).

Also, after the decoder (401, 402), the system can include a post-processor (not shown) that performs post-processing (e.g., filtering) of the current point cloud frame after decoding. The post-processing can include color space conversion from primary (e.g., luma) and secondary (e.g., chroma) components to another color space (e.g., RGB), resampling, and/or other filtering. Thus, the decoder (401, 402) can include a post-processing filter. Whereas “in-loop” filtering is performed on reconstructed attributes in a motion compensation loop, and hence affects attributes of reference frames, the post-processing filter is applied to reconstructed attributes outside of the motion compensation loop, before output for rendering.

Depending on implementation and the type of decompression desired, modules of the decoders (401, 402) can be added, omitted, split into multiple modules, combined with other modules, and/or replaced with like modules. In alternative embodiments, decoders with different modules and/or other configurations of modules perform one or more of the described techniques. Specific embodiments of decoders typically use a variation or supplemented version of one of the decoders (401, 402). The relationships shown between modules within the decoders (401, 402) indicate general flows of information in the respective decoders (401, 402); other relationships are not shown for the sake of simplicity. In general, a given module of the decoders (401, 402) can be implemented by software executable on a CPU, by software controlling special-purpose hardware (e.g., graphics hardware for video acceleration), or by special-purpose hardware (e.g., in an ASIC).

V. Compression of Point Cloud Data with a RAHT and/or Adaptive Entropy Coding, and Corresponding Decompression

This section describes various innovations in compression and decompression of point cloud data. In general, the innovations can be used as part of scalable compression and decompression of point cloud data, or as part of non-scalable compression and decompression of point cloud data. For example, an encoder uses a region-adaptive hierarchical transform (“RAHT”), which can provide a very compact way to represent the attributes of occupied points in point cloud data, followed by quantization and adaptive entropy coding of the transform coefficients produced by the RAHT. In addition to providing effective compression (in terms of rate-distortion efficiency), approaches described herein are computationally simpler than many previous approaches to compression of point cloud data. A corresponding decoder uses adaptive entropy decoding and inverse quantization, followed by application of an inverse RAHT.

In some example implementations, the RAHT is a hierarchical sub-band transform that resembles an adaptive variation of a Haar wavelet. The RAHT traverses a hierarchical representation of point cloud data (specifically, an octtree), starting from a top level and continuing through successively lower levels, and uses a two-point orthogonal transform. Collectively, the RAHT is non-expansive and orthogonal. Although the RAHT is adaptive, it can easily be computed with simple operations in a GPU or CPU. The transform coefficients produced by the RAHT are quantized and entropy coded (e.g., using arithmetic coding or run-length Golomb-rice (“RLGR”) coding). The entropy coding can be adapted according to distribution models (e.g., Laplacian distribution models), whose parameters are specific to bands of the quantized transform coefficients. In this case, the parameters are themselves quantized, encoded, and output along with the rest of the encoded point cloud data. A corresponding decoder decodes the parameters, configures its entropy decoders to decode the transform coefficients, and entropy decodes and inverse quantizes the transform coefficients. Computation for the inverse RAHT is as simple as computation for the forward RAHT, making both excellent candidates for real time transmission of point cloud data. In these example implementations, compression of point cloud data using the RAHT and adaptive entropy coding provides rate-distortion efficiency comparable to (and sometimes outperforming) previous approaches to point cloud compression, while being much more computationally efficient for compression and corresponding decompression.

A. Introduction to Point Cloud Compression and Decompression.

A point cloud represents one or more objects in 3D space as a set of points. A point in the point cloud is associated with a position in 3D space (typically, a position having x, y, and z coordinates). In general, a point cloud has no regular spacing. In example implementations, however, point cloud data is “voxelized” such that points are aligned with positions in a 3D grid that have regular spacing. A point in the point cloud can be visualized as a small sub-block, or voxel, that occupies volume in 3D space, adjacent other sub-blocks (for other points) in the 3D space. Alternatively, a point in the point cloud can be considered an infinitesimally small point, occupying no volume in the 3D space, but connected to other points during rendering operations. For purposes of explaining compression and decompression of point cloud data, the terms “voxel” and “point” are used interchangeably herein.

A point can be occupied or not occupied. If the point is occupied, the point has one or more attributes. Examples of attributes associated with an occupied point include sample values that define a color in a color space (e.g., RGB, YUV), surface normal values defining the direction of a flat surface associated with the occupied point, a motion vector defining motion associated with the occupied point (e.g., for a motion vector field at the occupied point), an opacity value defining an opacity associated with the occupied point, a specularity value defining a specularity coefficient associated with the occupied point, and a light field defining a set of light rays passing through or reflected from the occupied point. Alternatively, an occupied point can have other and/or additional attributes.

In previous approaches to compression/decompression of data for 3D visualization, most approaches use mesh compression/decompression. In many scenarios, such approaches are computationally inefficient, which makes them impractical for real-time applications. Previous approaches to point cloud compression/decompression are also unsuitable for real-time applications. One previous approach to point cloud compression uses an orthogonal graph transform and arithmetic coding of the transform coefficients. Although the graph transform may seem like a natural choice to spatially transform attributes of point cloud data (due to the irregular domain of definition of the attributes), the graph transform requires repeated eigen-decompositions of many graph Laplacians and/or large graph Laplacians, which makes the approach infeasible for real-time processing. Another approach to point cloud compression uses a shape-adaptive transform, but the transform is not orthogonal, which can hurt the quality of compression. Still another approach to point cloud compression involves padding the attributes to a regular domain then using an ordinary block transform, but critical sampling is sacrificed, which again can hurt the quality of compression. In these two approaches, the region of support for the transform of point cloud data can become, in essence, a two-dimensional manifold within 3D space.

In contrast, in example implementations described in this section, compression uses a RAHT that is both region-adaptive and orthogonal on attributes of occupied points of point clouds. The RAHT is also hierarchical, resembling an adaptive variation of a Haar wavelet. The RAHT is coupled with a feedforward approach to entropy coding the quantized transform coefficients. The RAHT compares well, in terms of rate-distortion performance, to previous approaches that use a graph transform. Further, the RAHT is far superior to those previous approaches in terms of computational complexity. In many cases, this enables compression of point cloud data in real time. In some cases, a typical point cloud frame has 300,000-400,000 occupied points in a voxel grid, and point cloud frames are processed at a rate of 30 frames per second, which leaves about 30 ms to process each point cloud frame.

B. Encoding with a RAHT and Decoding with an Inverse RAHT, Generally.

FIG. 5 shows a generalized technique (500) for encoding of point cloud data, including applying a RAHT to attributes of occupied points. An encoder such as the encoder (301) of FIG. 3a , encoder (302) of FIG. 3b , or other encoder performs the technique (500).

To start, the encoder receives (510) point cloud data including multiple points in 3D space. For example, the point cloud data is a point cloud frame. Each of the points is associated with an indicator of whether the point is occupied. If the point is occupied, the point is also associated with one or more attributes of the occupied point. Examples of attributes are described above.

The encoder encodes (520) the point cloud data, thereby producing encoded data. As part of the encoding (520), the encoder applies a RAHT to attributes of occupied points among the multiple points, which produces transform coefficients. For example, for intra-frame compression, the encoder applies a RAHT to attributes of occupied points among the multiple points, which produces the transform coefficients. Alternatively, for inter-frame compression, the encoder can apply a RAHT to prediction residuals for attributes of occupied points among the multiple points, which produces the transform coefficients.

FIG. 6 shows an example (600) of details for the encoding (520) stage during intra-frame compression. (If used during inter-frame compression, the operations shown in FIG. 6 are the same, except the RAHT is applied to prediction residuals instead of attributes.)

The encoder compresses (610) geometry for the point cloud data. The geometry includes indicators of which points of the point cloud data are occupied points. Examples of ways to compress geometry data are described in section V.C. The encoder performs (620) the RAHT on attributes of occupied points. In doing so, the encoder uses the indicators (geometry data) to determine which of the points of the point cloud data are occupied. Examples of RAHT are described in section V.D. The encoder quantizes (630) and codes (640) the transform coefficients produced by the RAHT. The coding (640) includes entropy coding of the transform coefficients (e.g., arithmetic coding, RLGR coding), which may be adaptive or non-adaptive. Section V.E describes examples of quantization and coding of the transform coefficients produced by the RAHT. Alternatively, the encoder performs the encoding (520) in some other way (still applying a RAHT to attributes of occupied points).

Returning to FIG. 5, the encoder stores (530) the encoded data as part of a bitstream for output. The encoder checks (540) whether to continue for the next batch of point cloud data. If so, the encoder receives (510) the next batch of point cloud data. In this way, the encoder can encode point cloud frames on a frame-by-frame basis or encode point cloud data on some other basis.

FIG. 7 shows a generalized technique (700) for decoding of point cloud data, including applying an inverse RAHT to transform coefficients for attributes of occupied points. A decoder such as the decoder (401) of FIG. 4a , decoder (402) of FIG. 4b , or other decoder performs the technique (700).

To start, the decoder receives (710) encoded data as part of a bitstream. The decoder decodes (720) the encoded data to reconstruct point cloud data. The point cloud data includes multiple points in 3D space. Each of the points is associated with an indicator of whether the point is occupied. If the point is occupied, the point is also associated with an attribute of the occupied point. Examples of attributes are described above. As part of the decoding (720), the decoder applies an inverse RAHT to transform coefficients for attributes of occupied points among the multiple points.

FIG. 8 shows an example (800) of details for the decoding (720) stage during intra-frame decompression. (If used during inter-frame decompression, the operations shown in FIG. 8 are the same, except the inverse RAHT is applied to transform coefficients for prediction residuals instead of transform coefficients for attributes.)

The decoder decompresses (810) geometry for the point cloud data, which includes indicators of which points of the point cloud data are occupied. Examples of ways to decompress geometry data are described in section V.C. The decoder decodes (820) quantized transform coefficients. The decoding (820) includes entropy decoding of the quantized transform coefficients (e.g., arithmetic decoding, RLGR decoding), which may be adaptive or non-adaptive. The decoder also inverse quantizes (830) the quantized transform coefficients, which reconstructs the transform coefficients for attributes of occupied points. Section V.E describes examples of decoding and inverse quantization of transform coefficients. The decoder performs (840) the inverse RAHT on the transform coefficients for attributes of occupied points. In doing so, the decoder uses the indicators (geometry data) to determine which of the points of the point cloud data are occupied. Examples of inverse RAHT are described in section V.D. Alternatively, the decoder performs the decoding (720) in some other way (still applying an inverse RAHT to transform coefficients for attributes of occupied points).

Returning to FIG. 7, the decoder stores (730) the reconstructed point cloud data. The decoder checks (740) whether to continue for the next batch of point cloud data. If so, the decoder receives (710) encoded data for the next batch of point cloud data. In this way, the decoder can decode point cloud frames on a frame-by-frame basis or decode point cloud data on some other basis.

C. Examples of Geometry Compression and Decompression.

This section describes examples of compression and decompression of geometry data, which indicates which points of point cloud data are occupied.

In a point cloud that represents a 3D object, a point is associated with a position in 3D space and, potentially, one or more attributes. A point can be occupied or not occupied. If the point has any attributes, the point is occupied. Otherwise (no attributes), the point is not occupied. A non-occupied point is transparent, and its attributes are void. Point cloud data can be represented as a list of points, with each occupied point being described by its geometry (position in 3D space) and attributes. For example, a point v_(i) is: v_(i)=[x_(i), y_(i), z_(i), att1_(i), att2_(i), att3_(i)], where att1_(i), att2_(i), att3_(i) are three attributes such as sample values defining a color. In practice, the position in 3D space of a point can be implied by geometry data and a scanning pattern, rather than being explicitly specified in encoded data.

In some example implementations, geometry is compressed and decompressed using octtree scanning of points in 3D space. An octtree is a 3D extension of a quadtree, which is a two-dimensional structure. FIG. 9 shows an example (900) of hierarchical organization that may be applied to point cloud data for octtree compression and decompression. The point cloud data is hierarchically organized in levels in 3D space having x, y, and z dimensions. At a given level l, a group of points of the point cloud data can be represented as a W×W×W unit cube for a voxel. At level l+1, the W×W×W unit cube is partitioned into eight smaller sub-cubes for voxels with dimensions W/2×W/2×W/2 by splitting each dimension by half. Similarly, at level l+2, each W/2×W/2×W/2 sub-cube can be partitioned into eight smaller sub-cubes for voxels with dimensions W/4×W/4×W/4. If all W/2×W/2×W/2 sub-cubes are split, there are 64 W/4×W/4×W/4 sub-cubes for voxels. The partitioning process can be repeated for L levels, yielding 2^(3L) voxels each having dimensions of 2^(−L)W×2^(−L)W×2^(−L)W.

To encode geometry data for a point cloud, one could explicitly signal a binary symbol per voxel at level L, indicating whether the voxel is occupied or not. In typical cases, however, a very small proportion of voxels are occupied. For example, in typical cases, less than 1% of the total number of voxels are occupied.

Octtree compression and decompression use a scanning pattern along voxels of an octtree to exploit the sparseness of occupied points and efficiently represent large unoccupied regions. At the first level of the octtree, the entire space is partitioned into eight sub-cubes. For each of the eight sub-cubes, the sub-cube is marked as “occupied” if any of the occupied voxels (points) of the point cloud data belong to the sub-cube. If the sub-cube includes no occupied voxels (points), the sub-cube is marked as “not occupied.” The binary symbols for the first level of the octtree use 8 bits, providing an indicator for each of the eight sub-cubes at the first level. At the next level of the octtree, only the sub-cubes marked as occupied at the first level are subject to further splitting. The scanning process continues for L levels, only partitioning sub-cubes which are occupied. This results in large unoccupied areas being represented by tree leaves (for non-occupied voxels) and a small number of occupied voxels (points) each having the size 2^(−L)W×2^(−L)W×2^(−L)W.

FIG. 10 shows an example (1000) of scanning for octtree compression and decompression. At level l+1, a sub-cube includes two occupied voxels (points). The points are traversed along a scanning pattern. In FIG. 10, the scanning pattern starts at the bottom-left, near point and continues to the right, then up, and then left to the top-left, near point. The scanning pattern continues at the top-left far point and continues to the right, then down, then left to the bottom-left far point. The scanning pattern depends on implementation. Alternatively, another scanning pattern can be used for octtree compression and decompression.

In FIG. 10, the octtree pattern of points for the sub-cube at level l+1 is 1 0 0 0 0 0 1 0. The first point (bottom-left, near) and seventh point (bottom-right, far) are occupied. The occupied points are indicated with the binary value 1. The remaining points at level l+1 are not occupied, as indicated with the binary value 0. As shown, a non-occupied point (0) is a leaf in the octtree. At level l+2, the sub-cubes for occupied points at level l+1 are further split. The bottom-left, near sub-cube at level l+1 includes two occupied voxels (points) at the second and seventh positions in the scanning pattern, as indicated by the octtree pattern 0 1 0 0 0 0 1 0. The bottom-right, far sub-cube at level l+1 includes three occupied voxels (points) at the first, fourth, and eighth positions in the scanning pattern, as indicated by the octtree pattern 1 0 0 1 0 0 0 1. In this example, the geometry data for the sub-cubes at level l+2 can be represented with 3 bytes.

For the first level of the octtree representation, there are eight sub-cubes, which are represented with 8 bits. If n₁ bits are 1 at the first level (that is, n₁ points are occupied), a second-level decomposition for the octtree representation uses another 8×n₁ bits. If, at the second level, n₂ bits are 1 (that is, n₂ points are occupied), a third-level decomposition for the octtree representation uses another 8×n₂ bits. After this process continues through L levels of the octtree representation, the number of bits B used to represent the octtree is:

$B = {8 \times {\sum\limits_{k = 0}^{L - 1}{n_{k}.}}}$

For the root level (k=0), n₀ is assumed to be 1.

For an L-level decomposition, there are 2^(3L) voxels (points), of which N_(v) voxels are occupied. The bitrate R_(g) is the number of bits used to encode the geometry data (i.e., to indicate where the occupied points are). The bitrate can be measured in bits per occupied voxel (bpv) as R_(g)=BIN_(v). In typical scenarios, the goal is to represent the surface of a solid 3D object in the 3D space. If voxels at level L are sufficiently small, the intersection of the surface of the 3D object and a voxel at level L is approximately planar (flat). The bitrate R_(g) can be estimated if one assumes occupied voxels lie in a flat surface crossing the entire voxel space. If a unit cube is sliced into two pieces through a planar cut, the area of the cross-section is between 0 and √{square root over (2)}, with a cross-sectional area of 1 being the most common. For an L-level decomposition with 2^(3L) voxels (points), a slice of the voxel space parallel to one of the external faces encompasses 2^(2L) voxels (points). The number of occupied voxels N_(v) in a surface crossing the entire voxel space is assumed to be proportional to this number: N_(v)=β×2^(2L). For any level of the L-level decomposition, a fraction a of the eight child sub-cubes is assumed to be occupied. For that level, 8α sub-cubes are further sub-divided. Thus, the number of bits B used for all levels is 8+8α(8+8α(8+8α . . . )) for L levels, which is 8+8(8α)+8(8α)²+8(8α)³ . . . bits. The bitrate R_(g) can be estimated as:

$R_{g} = {\frac{B}{N_{v}} \approx {\frac{8}{\beta \times 2^{2L}}{\sum\limits_{k = 0}^{L - 1}{\left( {8\alpha} \right)^{k}.}}}}$

As L increases, R_(g) approaches

$\frac{2^{3 + L}\alpha^{L}}{\beta \left( {{8\alpha} - 1} \right)}$

For typical values of β and α (specifically, β=1 and α=½),

$R_{g} \approx {\frac{8}{3}{{bpv}.}}$

In practice, this estimate is quite accurate—typical geometry data can be compressed with about 2.5 bpv using octtree scanning.

For additional details about variations of octtree compression and decompression, see Loop et al., “Real-time High-resolution Sparse Voxelization with Application to Image-based Modeling” (2013); Schnabel et al., “Octtree-based Point Cloud Compression” (2006); and Huang et al., “A Generic Scheme for Progressive Point Cloud Coding,” (2008).

In the preceding examples, the bytes of the octtree representation are not further compressed. Alternatively, the bytes of the octtree representation can be further encoded, e.g., using binary arithmetic coding, or some other form of entropy coding adapted to series of binary values. During decoding, corresponding entropy decoding is performed to recover the bytes of the octtree representation.

Thus, when encoding point cloud data, an encoder can apply octtree compression to the indicators of whether multiple points, respectively, are occupied. When decoding point cloud data, a decoder can apply octtree decompression to recover the indicators of whether the multiple points, respectively, are occupied. In the preceding examples, the octtree compression of geometry data is lossless, and the octtree decompression reverses the lossless compression.

Alternatively, the compression of geometry data can be lossy. For example, the encoder applies lossy geometric compression to the indicators of whether the multiple points, respectively, are occupied. The encoder reconstructs the indicators and uses the reconstructed indicators in later operations (e.g., RAHT) to determine which of the points, respectively, are occupied. A corresponding decoder also reconstructs the indicators and uses the reconstructed indicators in later operations (e.g., inverse RAHT) to determine which of the points, respectively, are occupied. Thus, the encoder and decoder use the same reconstructed geometry data.

In addition to determining which of the points of point cloud data are occupied, an encoder and decoder can use the geometry data to determine weights used in a RAHT and inverse RAHT, as described in the section V.D.

In the preceding examples, the indicator for a point is a 0/1 flag or symbol per point. The position of a point (e.g., in terms of x, y, and z coordinates) is not itself compressed, since the position can be inferred from the 0/1 indicators and scanning pattern of the octtree processing. Alternatively, to compress the geometry data for a point cloud, an encoder can compress the positions of the occupied points of the point cloud data (but not the positions of the non-occupied points). In this case, the indicator of whether a point is occupied is the position of the point, if any, in the encoded data. For an occupied point, including the position of the point in the encoded data indicates the point is occupied. For a non-occupied point, omitting the position of the point from the encoded data indicates the point is not occupied. Alternatively, indicators of whether points are occupied in point cloud data can be signaled in some other way.

D. Examples of RAHT and Inverse RAHT.

This section describes examples of a region-adaptive hierarchical transform (“RAHT”) and examples of a corresponding inverse RAHT. For intra-frame compression, the RAHT is applied to attributes of occupied points of point cloud data, producing transform coefficients. For corresponding intra-frame decompression, the inverse RAHT is applied to the transform coefficients, producing reconstructed versions of the attributes of occupied points. In conjunction with inter-frame compression, the RAHT can be applied to prediction residuals for attributes of occupied points of point cloud data, where the prediction residuals represent differences between predicted values and original values of the attributes. Again, the RAHT produces transform coefficients. In conjunction with corresponding inter-frame decompression, the inverse RAHT is applied to the transform coefficients to reconstruct versions of the prediction residuals for the attributes of occupied points.

The RAHT and inverse RAHT are “region-adaptive” in that they are not automatically applied to all points of point cloud data, and in that weights are applied that depend on the count of occupied points in a region. The RAHT and inverse RAHT are applied to attributes of occupied points of the point cloud data. Or, the RAHT and inverse RAHT are applied to prediction residuals for attributes of occupied points of the point cloud data. The RAHT and inverse RAHT use geometry data (indicators of which points are occupied points) to guide application of the RAHT and inverse RAHT and to determine weights used for the RAHT and inverse RAHT.

The RAHT and inverse RAHT are “hierarchical” in that results from applying the transform (or inverse transform) at one level of hierarchically organized data are selectively passed to another level of the hierarchically organized data for successive application of the transform (or inverse transform). For example, lowpass transform coefficients that result from applying the transform at a level l are passed to a lower level l−1, and the transform is repeated at the lower level l−1. Or, as another example, attributes (or prediction residuals) that result from applying the inverse transform at a level l are passed to a higher level l+1, and the inverse transform is repeated at the higher level l+1.

For the sake of simplicity, this section mostly describes examples of application of the RAHT to attributes of occupied points, and application of the inverse RAHT to transform coefficients for attributes of occupied points. During inter-frame compression/decompression, the RAHT is instead applied to prediction residuals for attributes of occupied points, and the inverse RAHT is applied to transform coefficients for the prediction residuals for attributes of occupied points.

1. Introduction, Flow of RAHT and Inverse RAHT.

In general, the RAHT uses the attributes of a level l of a hierarchy of point cloud data to predict the attributes of a lower level l−1 of the hierarchy. The RAHT combines the attributes of occupied points (voxels) in a given level l of the hierarchy, passing the combined attributes to the next lower level l−1 of the hierarchy. The RAHT also produces highpass coefficients that can be used, with the combined attributes, to reconstruct the attributes of occupied points in the given level l. At the next level l−1 of the hierarchy, the RAHT repeats the process of combining attributes of occupied points, passing combined attributes to the next lower level l−2, and producing highpass coefficients that can be used to reconstruct attributes of occupied points at the level l−1. In this way, for example, the RAHT can follow an octtree representation from level L to level l, combining the smallest voxels into successively larger voxels until the RAHT reaches the root for the entire 3D space.

The inverse RAHT proceeds in the opposite direction. The inverse RAHT uses the attributes of a level l of a hierarchy of point cloud data to predict the attributes of a higher level l+1 of the hierarchy. The inverse RAHT reconstructs the attributes of occupied points (voxels) in a given level l of the hierarchy and passes the reconstructed attributes to the next higher level l+1 of the hierarchy. To reconstruct attributes at the given level l, the inverse RAHT uses highpass coefficients for the given level l along with lowpass coefficients (for the bottom level) or attributes passed from the lower level l−1 of the hierarchy (for another level). At the next level l+1 of the hierarchy, the inverse RAHT repeats the process of reconstructing attributes (using highpass coefficients and passed attributes) and passing reconstructed attributes to the next higher level l+2. In this way, for example, the inverse RAHT can follow an octtree representation from level l to level L, splitting the root for the entire 3D space into successively smaller voxels until the inverse RAHT reaches the smallest voxels at level L.

Suppose the attributes for points at level l are g_(l,x,y,z) for integers x, y, and z. With the RAHT, the attribute g_(l,x,y,z) for a given point is obtained by grouping (e.g., taking a linear combination of) the following attributes of any occupied points among eight points at level l+1: g_(l+1,2x,2y,2z), g_(l+1,2x+1,2y,2z), g_(l+1,2x,2y+1,2z), g_(l+1,2x+1,2y+1,2z), g_(l+1,2x,2y,2z+1), g_(l+1,2x+1,2y,2z+1), g_(l+1,2x,2y+1,2z+1), and g_(l+1,2x+1,2y+1,2z+1). When the RAHT is applied to the attributes of the eight points, up to seven highpass coefficients at level l+1 are also generated. The highpass coefficients are coded and output as part of encoded data, but are not subjected to further application of the RAHT. If only one of the points in the group is occupied, the attribute for that occupied point is promoted to be g_(l,x,y,z), and no highpass coefficients are created. After the RAHT generates attributes g_(l,x,y,z) for points at level l, such attributes can be further transformed at a lower level l−1. With the inverse RAHT, the attributes of any occupied points among the eight points at level l+1 are reconstructed from g_(l,x,y,z) and any highpass coefficients generated at level l+1.

Instead of transforming eight points at a time, the RAHT can transform attributes of occupied points in three steps along different dimensions. For example, the RAHT transforms attributes for points along the x axis, then transforms attributes for points along the y axis, and then transforms attributes for points along the z axis. Alternatively, the transform is applied along the three axes in a different order. With this approach, the RAHT uses pair-wise transforms to traverse the entire hierarchy. For the RAHT, a point is occupied if the point has an attribute, which may be an original value, a reserved value passed from a higher level, or an intermediate attribute resulting from a previous transform along another axis at the current level of processing. If only one of the points in a pair is occupied, the attribute for that occupied point is promoted, and no highpass coefficient is created.

For example, the attribute for a given point g_(l,x,y,z) is obtained from the attributes of any occupied points among eight points at level l+1 as follows. First, attributes for pairs of points along the x axis are combined, if both points are occupied:

-   -   g_(l+1,2x,2y,2z) and g_(l+1,2x+1,2y,2z) are transformed to         produce g h_(l+1,2x+1,2y,2z) and where g′_(l+1,2x,2y,2z) is an         intermediate attribute and h_(l+1,2x+1,2y,2z) is a highpass         coefficient;     -   g_(l+1,2x,2y+1,2z) and g_(l+1,2x+1,2y+1,2z) are transformed to         produce g′_(l+1,2x,2y+1,2z) and h_(l+1,2x,2y+1,2z), where         g′_(l+1,2x,2y+1,2z) is an intermediate attribute and         h_(l+1,2x+1,2y+1,2z) is h_(l+1,2x+1,2y+1,2z), where         g′_(l+1,2x,2y+1,2z) is an intermediate attribute and         h_(l+1,2x+1,2y+1,2z) is a highpass coefficient;

g_(l+1,2x,2y,2z+1) and g_(l+1,2x+1,2y,2z+1) are transformed to produce g′_(l+1,2x,2y,2z+1) and h_(l+1,2x+1,2y,2z+1), where g′_(l+1,2x,2y,2z+1) is an intermediate attribute and h_(l+1,2x+1,2y,2z+1) is a highpass coefficient; and

-   -   g_(l+1,2x,2y+1,2z+1) and g_(l+1,2x+1,2y+1,2z+1) are transformed         to produce g′_(l+1,2x,2y+1,2z+1) and h_(l+1,2x+1,2y+1,2z+1),         where g′_(l+1,2x,2y+1,2z+1) is an intermediate attribute and         h_(l+1,2x+1,2y+1,2z+1) is a highpass coefficient.         If only one of the points in a pair is occupied, the attribute         for that occupied point is promoted to be the appropriate         intermediate attribute, and no highpass coefficient is created.         Next, attributes for pairs of points along the y axis are         combined, if both points are occupied:     -   g′_(l+1,2x,2y,2z) and g′_(l+1,2x,2y+1,2z) are transformed to         produce g″_(l+1,2x,2y,2z) and h_(l+1,2x,2y+1,2z), where         g″_(l+1,2x,2y,2z) is an intermediate attribute and         h_(l+1,2x,2y+1,2z) is a highpass coefficient; and     -   g′_(l+1,2x,2y,2z+1) and g′_(l+1,2x,2y+1,2z+1) are transformed to         produce g″_(l+1,2x,2y,2z+1) and h_(l+1,2x,2y+1,2z+1), where         g″_(l+1,2x,2y,2z+1) is an intermediate attribute and         h_(l+1,2x,2y+1,2z+1) is a highpass coefficient.         If only one of the points in a pair is occupied, the attribute         for that occupied point is promoted to be the appropriate         intermediate attribute, and no highpass coefficient is created.         Next, attributes for the pair of points along the z axis are         combined, if both points are occupied:     -   g″_(l+1,2x,2y,2z) and g″_(l+1,2x,2y,2z+1) are transformed to         produce g′″_(l+1,2x,2y,2z) and h_(l+1,2x,2y,2z+1), where         g′″_(l+1,2x,2y,2z) is the lowpass coefficient passed to the         lower level as g_(1,x,y,z), and h_(l+1,2x,2y,2z+1) is a highpass         coefficient.         If only one of the points in the pair is occupied, the attribute         for that occupied point is promoted to be the lowpass         coefficient, and no highpass coefficient is created.

FIG. 11 shows an example of the RAHT applied in three steps along different dimensions. The attributes that are transformed are associated with points of a sub-cube anchored at position (6, 8, 4) of level 4 of the hierarchy. The points in the sub-cube are (6, 8, 4), (6, 8, 5), (6, 9, 4), (6, 9, 5), (7, 8, 4), (7, 8, 5), (7, 9, 4), and (7, 9, 5). Initially, the attributes for the respective points of the sub-cube at level 4 are passed from level 5. The RAHT transforms attributes for points along the x axis, then transforms attributes for points along the y axis, and then transforms attributes for points along the z axis. In particular, the following pairs of attributes are transformed along the x axis: g_(4,6,8,4) and g_(4,7,8,4), g_(4,6,8,5) and g_(4,7,8,5) g_(4,6,9,4) and g_(4,7,9,4), and g_(4,6,9,5) and g_(4,7,9,5). The transforms produce intermediate attributes g′_(4,6,8,4), g′_(4,6,8,5), g′_(4,6,9,4), and g′_(4,6,9,5), respectively. The pair-wise transforms also produce highpass coefficients h_(4,7,8,4), h_(4,7,8,5), h_(4,7,9,4), and h_(4,7,9,5), respectively. Then, the following pairs of attributes are transformed along the y axis: g′_(4,6,8,4) and g′_(4,6,9,4), and g′_(4,6,8,5) and g′_(4,6,9,5). The transforms produce intermediate attributes g″_(4,6,8,4) and g″_(4,6,8,5), respectively, along with highpass coefficients h_(4,6,9,4) and h_(4,6,9,5), respectively. Finally, the pair of attributes g″_(4,6,8,4) and g″_(4,6,8,5) is transformed along the z axis, producing the intermediate attribute g′″_(4,6,8,4) and highpass coefficient h_(4,6,8,5). The intermediate attribute g′″_(4,6,8,4) is passed to level 3 as the attribute g_(3,3,4,2).

For the RAHT, this grouping process is repeated for each group that has an occupied point at a given level of the hierarchy. The grouping process is then repeated for successively lower levels of the hierarchy, until the root (level 1) is reached.

FIG. 12 shows an example (1200) of a transform applied along different dimensions for attributes of occupied points of point cloud data. In FIG. 12, the group (1210) includes three occupied points. Overall, the transform produces transform coefficients (1220) for the attributes of the occupied points of the group.

First, the attributes for the three occupied points are transformed along the x axis (combining points at positions 2x and 2x+1 for any y and any z). This can produce lowpass coefficients (at positions 2x along the x axis) and highpass coefficients (at positions 2x+1 along the x axis). In FIG. 12, for one pair of points, both points are occupied points, and the transform produces a lowpass coefficient (intermediate attribute) and highpass coefficient. For another pair of points, only one point is occupied, and the transform passes through the attribute of the occupied point to be the lowpass coefficient (intermediate attribute) without adjustment. No highpass coefficient is generated for this pair of points. For the other two pairs of points, neither point is occupied, and no values are generated.

Next, the intermediate attributes (lowpass coefficients from the transform along the x axis) are transformed along the y axis. This can produce lowpass coefficients (at positions 2y along the y axis) and highpass coefficients (at positions 2y+1 along the y axis). In FIG. 12, for each pair of points, only one point is occupied, and the transform passes through the attribute of the occupied point to be the lowpass coefficient (intermediate attribute) without adjustment. No highpass coefficients are generated for the two pairs of points.

Finally, the intermediate attributes (lowpass coefficients from the transform along the y axis) are transformed along the z axis. In FIG. 12, for the pair of points, both points are occupied points. The transform can produce a lowpass coefficient (at position 2z along the z axis) and a highpass coefficient (at position 2z+1 along the z axis). The lowpass coefficient can be passed to the next lower level for successive application of the RAHT. The resulting highpass coefficients among the transform coefficients (1220) from the three transforms can be further processed (e.g., quantization, entropy coding). The number of transform coefficients (1220) is the same as the number of occupied points in the group (1210). Although not shown in FIG. 12, with appropriate processing logic, it is possible to keep the transform coefficients “in place” (i.e., in the same x, y, and z positions of the occupied points in the group (1210)).

The corresponding inverse RAHT reconstructs attributes of occupied points in three steps along different dimensions. For example, the inverse RAHT reconstructs attributes for points along the z axis, then reconstructs attributes for points along the y axis, and then reconstructs attributes for points along the x axis. Alternatively, the inverse transform is applied along the three axes in a different order (but still mirrors the order used for the forward transform). With this approach, the inverse RAHT uses pair-wise transforms to traverse the entire hierarchy. For the inverse RAHT, a point is occupied if the point has an attribute, which may be a reserved value passed from a lower level or an intermediate attribute resulting from a previous transform along another axis at the current level of processing.

For example, the attributes of any occupied points among eight points at level l+1 are obtained from the reconstructed attribute for a given point ĝ_(z,x,y,z) and highpass coefficients as follows. The reconstructed attribute for the given point ĝ_(z,x,y,z) provides ĝ′″_(l+1,2x,2y,2z). First, attributes for a pair of points along the z axis are reconstructed, if both points are occupied:

-   -   reconstructed versions of attributes (intermediate attributes)         ĝ″_(l+1,2x,2y,2z) and ĝ″_(l+1,2x,2y,2z+1) are calculated from         ĝ′″_(l+1,2x,2y,2z) and ĥ_(l+1,2x,2y,2z+1) where         ĥ_(l+1,2x,2y,2z+1) is a reconstructed highpass coefficient.         If only one of the points in the pair is occupied, the lowpass         coefficient passed from the lower level is promoted to be the         attribute (intermediate attribute) for that occupied point, and         no highpass coefficient is used. Next, attributes for pairs of         points along the y axis are reconstructed, if both points are         occupied:     -   reconstructed versions of attributes (intermediate attributes)         ĝ′_(l+1,2x,2y,2z and) ĝ′_(l+1,2x,2y+1,2z) are calculated from         ĝ″_(l+1,2x,2y,2z) and ĥ_(l+1,2x,2y+1,2z), where         ĥ_(l+1,2x,2y+1,2z) is a reconstructed highpass coefficient; and     -   reconstructed versions of attributes (intermediate attributes)         ĝ′_(l+1,2x,2y,2z+1) and ĝ′_(l+1,2x,2y+1,2z+1) are calculated         from ĝ″_(l+1,2x,2y,2z+1) and ĥ_(l+1,2x,2y+1,2z+1), where         ĥ_(l+1,2x,2y+1,2z+1) is a reconstructed highpass coefficient.         If only one of the points in a pair is occupied, the         intermediate attribute from the previous inverse transform at         the given level is promoted to be the attribute (intermediate         attribute) for that occupied point, and no highpass coefficient         is used. Finally, attributes for pairs of points along the x         axis are reconstructed, if both points are occupied:     -   reconstructed versions of attributes ĝ_(l+1,2x,2y,2z) and         ĝ_(l+1,2x+1,2y,2z) are calculated from ĝ′_(l+1,2x,2y,2z) and         ĥ_(l+1,2x+1,2y,2z), where ĥ_(l+1,2x+1,2y,2z) is a reconstructed         highpass coefficient;     -   reconstructed versions of attributes ĝ_(l+1,2x,2y+1,2z) and         ĝ_(l+1,2x+1,2y+1,2z) are calculated from ĝ′_(l+1,2x,2y+1,2z) and         ĥ_(l+1,2x+1,2y+1,2z), where ĥ_(l+1,2x+1,2y+1,2z) is a         reconstructed highpass coefficient;     -   reconstructed versions of attributes ĝ_(l+1,2x,2y,2z+1) and         ĝ_(l+1,2x+1,2y,2z+1) are calculated from ĝ′_(l+1,2x,2y,2z+1) and         ĥ_(l+1,2x+1,2y,2z+1), where ĥ_(l+1,2x+1,2y,2z+1) is a         reconstructed highpass coefficient; and     -   reconstructed versions of attributes ĝ_(l+1,2x,2y+1,2z+1) and         ĝ_(l+1,2x+1,2y+1,2z+1) are calculated from ĝ′_(l+1,2x,2y+1,2z+1)         and ĥ_(l+1,2x+1,2y+1,2z+1), where ĥ_(l+1,2x+1,2y+1,2z+1) is a         reconstructed highpass coefficient.         If only one of the points in a pair is occupied, the         intermediate attribute from the previous inverse transform at         the given level is promoted to be the attribute for that         occupied point, and no highpass coefficient is used.

FIG. 13 shows an example (1300) of the inverse RAHT applied in three steps along different dimensions. The attributes that are reconstructed are associated with points of a sub-cube anchored at position (6, 8, 4) of level 4 of the hierarchy. The points in the sub-cube are (6, 8, 4), (6, 8, 5), (6, 9, 4), (6, 9, 5), (7, 8, 4), (7, 8, 5), (7, 9, 4), and (7, 9, 5). The inverse RAHT reconstructs attributes for points along the z axis, then reconstructs attributes for points along the y axis, and then reconstructs attributes for points along the x axis. The reconstructed attribute ĝ_(3,3,4,2) is passed from level 3 to provide the reconstructed intermediate attribute ĝ′″_(4,6,8,4). The reconstructed intermediate attribute ĝ′″_(4,6,8,4) and reconstructed highpass coefficient ĥ_(4,6,8,5) are inverse transformed along the z axis to produce the pair of reconstructed intermediate attributes ĝ″_(4,6,8,4) and ĝ″_(4,6,8,5). Next, the following pairs of values are inverse transformed along the y axis: ĝ″_(4,6,8,4) and ĥ_(4,6,9,4), and ĝ″_(4,6,8,5) and ĥ_(4,6,9,5). The inverse transforms produce the reconstructed intermediate attributes ĝ′_(4,6,8,4), ĝ′_(4,6,8,5), ĝ′_(4,6,9,4), and g′_(4,6,9,5). Finally, the following pairs of values are inverse transformed along the x axis: ĝ′_(4,6,8,4) and ĥ_(4,7,8,4), ĝ_(4,6,8,5) and ĥ_(4,7,8,5), ĝ′_(4,6,9,4) and ĥ_(4,7,9,4), and ĝ′_(4,6,9,5) and ĥ_(4,7,9,5). The inverse transforms produce the reconstructed attributes ĝ_(4,6,8,4), ĝ_(4,7,8,4), ĝ_(4,6,8,5), ĝ_(4,7,8,5), ĝ_(4,6,9,4), ĝ_(4,7,9,4), ĝ_(4,6,9,5), and ĝ_(4,7,9,5), as shown, which can be passed to level 5 for use in further inverse transform operations.

For the inverse RAHT, this splitting process is repeated for each group that has an occupied point at a given level of the hierarchy. The splitting process is then repeated for successively higher levels of the hierarchy, until the top level (L) has been reached.

FIG. 14 shows an example (1400) of an inverse transform applied along different dimensions for attributes of occupied points of point cloud data. In FIG. 14, the group (1420) includes three occupied points. Overall, the inverse transform uses transform coefficients (1410) to reconstruct the attributes of the occupied points of the group. The transform coefficients (1210) are recovered using, e.g., entropy decoding and inverse quantization. One of the transform coefficient (lowpass coefficient) may be passed from a lower level.

First, a lowpass coefficient and highpass coefficient for a pair of points are inverse transformed along the z axis. The lowpass coefficient can be a reserved value passed from the next lower level for successive application of the inverse RAHT. The inverse transform can produce intermediate attributes at positions (2x, 2y, 2z) and (2x, 2y, 2z+1) along the z axis.

Next, lowpass coefficients (intermediate attributes) and highpass coefficients are inverse transformed along the y axis. This can produce intermediate attributes at positions (2x, 2y, 2z), (2x, 2y, 2z+1), (2x, 2y+1, 2z), and (2x, 2y+1, 2z+1) along the y axis. In FIG. 14, for each pair of points, only one point is occupied, and the inverse transform passes through the lowpass coefficient (intermediate attribute) without adjustment to be the attribute of the occupied point. No highpass coefficients are used for the two pairs of points.

Finally, lowpass coefficients (intermediate attributes) and highpass coefficients are inverse transformed along the x axis. This can produce reconstructed versions of the attributes of occupied points. In FIG. 14, for one pair of points, both points are occupied points, and the inverse transform produces attributes for the respective occupied points. For another pair of points, only one point is occupied, and the inverse transform passes through the lowpass coefficient (intermediate attribute) without adjustment to be the attribute of the occupied point. No highpass coefficient is used for this pair of points. For the other two pairs of points, neither point is occupied, and no values are generated.

FIGS. 15 and 16 show other views (1500, 1600) of the RAHT and inverse RAHT illustrated in FIGS. 11 and 13, respectively. In the example (1500) of FIG. 15, each transform includes (1) a linear combination of two inputs, weighted by a and b, respectively, and (2) a linear combination of the two inputs, weighted by −b and a, respectively. Ways of calculating the weights are described below. Each inverse transform includes (1) a linear combination of two inputs, weighted by a and −b, respectively, and (2) a linear combination of the two inputs, weighted by a and b, respectively. The example (1600) of FIG. 16 shows a simplified view of the flow for the RAHT and inverse RAHT.

2. Examples of Weights, Weighted Transforms, and Inverse Weighted Transforms.

For the RAHT, the transform applied to attributes of pairs of points can be defined as follows. For attributes g₁ and g₂ of a pair of adjacent points, a lowpass coefficient g′₁=ag₁+bg₂ and highpass coefficient h₂=−bg₁+ag₂ are generated by applying a transform matrix to the attributes:

${\begin{bmatrix} g_{1}^{\prime} \\ h_{2} \end{bmatrix} = {T_{w\; 1w\; 2}\begin{bmatrix} g_{1} \\ g_{2} \end{bmatrix}}},$

where T_(w1w2)=[a b; −b a] is a transform matrix whose elements a and b are based on weights w1 and w2 associated with the two points g₁ and g₂, respectively. For example, the transform matrix T_(w1w2) is:

${T_{w\; 1w\; 2} = {\frac{1}{\sqrt{{w\; 1} + {w\; 2}}}\begin{bmatrix} \sqrt{w\; 1} & \sqrt{w\; 2} \\ {- \sqrt{w\; 2}} & \sqrt{w\; 1} \end{bmatrix}}},$

where the weights w1 and w2 are counts of occupied points. Specifically, the weight w1 is a count of occupied points, at the current level and any higher levels, that have contributed attributes for point g₁. Similarly, the weight w2 is a count of occupied points, at the current level and any higher levels, that have contributed attributes for point g₂. The weight for a given occupied point is the number of occupied points (including the given point and points at higher levels of the hierarchy) that have been grouped to form the given occupied point. Stated differently, the number of occupied points grouped to generate g_(l,x,y,z) provides the weight w_(l,x,y,z) of g_(l,x,y,z). With this choice for elements a and b, each lowpass coefficient is a scaled average of all the attributes contributing to the lowpass coefficient. After the transform, a new weight w′1 associated with the lowpass coefficient g′₁ (and also the highpass coefficient h₂) can be computed as follows: w′1=w1+w2. The new weight w′1 associated with the lowpass coefficient g′₁ is used in subsequent iterations of the RAHT. The new weight w′1 associated with the highpass coefficient h₂ can be used when sorting quantized transform coefficients in adaptive entropy coding.

For the example of the RAHT applied in three steps along different dimensions, the transform along the x dimension is:

${\begin{bmatrix} g_{{l + 1},{2x},{2y},{2z}}^{\prime} \\ h_{{l + 1},{{2x} + 1},{2y},{2z}} \end{bmatrix} = {T_{w\; 1w\; 2}\begin{bmatrix} g_{{l + 1},{2x},{2y},{2z}} \\ g_{{l + 1},{{2x} + 1},{2y},{2z}} \end{bmatrix}}},$

where the matrix T_(w1w2) incorporates a weight w1 for g_(l+1,2x,2y,2z) and a weight w2 for g_(l+1,2x+1,2y,2z). A new weight w′1 for g′_(l+1,2x,2y,2z) (and the highpass coefficient h_(l+1,2x+1,2y,2z)) is calculated as the weight w1 for g_(l+1,2x,2y,2z) plus the weight w2 for g_(l+1,2x+1,2y,2z). Similarly, the transform along the y dimension is:

${\begin{bmatrix} g_{{l + 1},{2x},{2y},{2z}}^{''} \\ h_{{l + 1},{2x},{{2y} + 1},{2z}} \end{bmatrix} = {T_{w\; 1w\; 2}\begin{bmatrix} g_{{l + 1},{2x},{2y},{2z}}^{\prime} \\ g_{{l + 1},{2x},{{2y} + 1},{2z}}^{\prime} \end{bmatrix}}},$

where the matrix T_(w1w2) incorporates a weight w′1 for g′_(l+1,2x,2y,2z) and a weight w′2 for g′_(l+1,2x,2y+1,2z). A new weight w″1 for g″_(l+1,2x,2y,2z) (and the highpass coefficient h_(l+1,2x,2y+1,2z)) is calculated as the weight w′1 for g′_(l+1,2x,2y,2z) plus the weight w′2 for g′_(l+1,2x,2y+1,2z). The transform along the z dimension is:

${\begin{bmatrix} {g^{\prime}}_{{l + 1},{2\; x},{2\; y},{2\; z}}^{''} \\ h_{{l + 1},{2\; x},{2\; y},{{2\; z} + 1}} \end{bmatrix} = {T_{w\; 1\; w\; 2}\begin{bmatrix} g_{{l + 1},{2\; x},{2\; y},{2\; z}}^{''} \\ g_{{l + 1},{2\; x},{2\; y},{{2\; z} + 1}}^{''} \end{bmatrix}}},$

where the matrix T_(w1w2) incorporates a weight w″1 for g″_(l+1,2x,2y,2z) and a weight w″2 for g″_(l+1,2x,2y,2z+1). A new weight w′″1 for g′″_(l+1,2x,2y,2z) (and the highpass coefficient h_(l+1,2x,2y,2z+1)) is calculated as the weight w″1 for g″_(l+1,2x,2y,2z) plus the weight w″2 for g″_(l+1,2x,2y,2z+1).

The matrix T_(w1w2) changes dynamically, adapting to the weights associated with the attributes that are transformed. In this way, the matrix T_(w1w2) can adapt to the density of occupied points in different regions of the hierarchy of point cloud data.

In the last stage of the RAHT, the remaining two attributes g″_(1,0,0,0) and g″_(1,0,0,1) are transformed into the DC coefficient g_(DC)=g_(0,0,0,0)=g′″_(1,0,0,0) and final highpass coefficient h_(1,0,0,1).

$\begin{bmatrix} {g^{\prime}}_{1,0,0,0}^{''} \\ h_{1,0,0,1} \end{bmatrix} = {{T_{w\; 1\; w\; 2}\begin{bmatrix} g_{1,0,0,0}^{''} \\ g_{1,0,0,1}^{''} \end{bmatrix}}.}$

The matrix T_(w1w2) is orthonormal at every level of the RAHT. Therefore, the entire RAHT, as a composition of orthonormal transforms, is orthonormal. This is a valuable property for compression, as the norm of quantization error in the transform domain remains the same in the signal domain.

For the inverse RAHT, the inverse transform applied to reconstruct attributes of pairs of points can be defined as follows. To reconstruct attributes ĝ₁ and ĝ₂ of a pair of adjacent points, a reconstructed lowpass coefficient ĝ′₁ (DC coefficient or attribute from lower level) and reconstructed highpass coefficient h₂ are inverse transformed by applying a transform matrix to the coefficients.

${\begin{bmatrix} {\hat{g}}_{1} \\ {\hat{g}}_{2} \end{bmatrix} = {T_{w\; 1\; w\; 2}^{T}\begin{bmatrix} {\hat{g}}_{1}^{\prime} \\ {\hat{h}}_{2} \end{bmatrix}}},$

where T_(w1w2) ^(T) is a matrix based on weights w1 and w2 associated with the two attributes g₁ and g₂, respectively (and their reconstructed versions). The matrix T_(w1w2) ^(T) is the transpose of T_(w1w2):

${T_{w\; 1\; w\; 2}^{T} = {\frac{1}{\sqrt{{w\; 1} + {w\; 2}}}\begin{bmatrix} \sqrt{w\; 1} & {- \sqrt{w2}} \\ \sqrt{w\; 2} & \sqrt{w\; 1} \end{bmatrix}}},$

where the weights w1 and w2 are the counts of occupied points associated with the reconstructed attributes ĝ₁ and ĝ₂. The weights for the reconstructed attributes ĝ₁ and ĝ₂ are the same as the weights for the attributes g₁ and g₂, as described above.

For the example of the inverse RAHT applied in three steps along different dimensions, the inverse transform along the z dimension is:

${\begin{bmatrix} {\hat{g}}_{{l + 1},{2\; x},{2\; y},{2\; z}}^{''} \\ {\hat{g}}_{{l + 1},{2\; x},{2\; y},{{2\; z} + 1}}^{''} \end{bmatrix} = {T_{w\; 1\; w\; 2}^{T}\begin{bmatrix} {\hat{g}}_{{l + 1},{2\; x},{2\; y},{2\; z}}^{''\prime} \\ {\hat{h}}_{{l + 1},{2\; x},{2\; y},{{2\; z} + 1}} \end{bmatrix}}},$

where the matrix T_(w1w2) ^(T) incorporates a weight w″1 for ĝ″_(l+1,2x,2y,2z) and a weight w″2 for ĝ″_(l+1,2x,2y,2z+1). Similarly, the inverse transform along the y dimension is:

${\begin{bmatrix} {\hat{g}}_{{l + 1},{2\; x},{2\; y},{2\; z}}^{\prime} \\ {\hat{g}}_{{l + 1},{2\; x},{{2\; y} + 1},{2\; z}}^{\prime} \end{bmatrix} = {T_{w\; 1\; w\; 2}^{T}\begin{bmatrix} {\hat{g}}_{{l + 1},{2\; x},{2\; y},{2\; z}}^{''} \\ {\hat{h}}_{{l + 1},{2\; x},{{2\; y} + 1},{2\; z}} \end{bmatrix}}},$

where the matrix T_(w1w2) ^(T) incorporates a weight w′1 for ĝ′_(l+1,2x,2y,2z) and a weight w′2 for ĝ″_(l+1,2x,2y+1,2z). Finally, the inverse transform along the x dimension is:

${\begin{bmatrix} {\hat{g}}_{{l + 1},{2\; x},{2\; y},{2\; z}} \\ {\hat{g}}_{{l + 1},{{2\; x} + 1},{2\; y},{2\; z}} \end{bmatrix} = {T_{w\; 1\; w\; 2}^{T}\begin{bmatrix} {\hat{g}}_{{l + 1},{2\; x},{2\; y},{2\; z}}^{\prime} \\ {\hat{h}}_{{l + 1},{{2\; x} + 1},{2\; y},{2\; z}} \end{bmatrix}}},$

where the matrix T_(w1w2) ^(T) incorporates a weight w1 for ĝ_(l+1,2x,2y,2z) and a weight w2 for ĝ_(l+1,2x+1,2y,2z).

Like the matrix T_(w1w2) used in the RAHT, the matrix T_(w1w2) ^(T) changes dynamically, adapting to the weights associated with the attributes Like the matrix T_(w1w2) used in the RAHT, the matrix T_(w1w2) ^(T) is orthonormal at every level of the RAHT. Therefore, the entire inverse RAHT, as a composition of orthonormal transforms, is orthonormal.

FIG. 17 shows an example (1700) of weights applied when only of a subset of the points in the example (1600) of FIG. 16 are occupied. In FIG. 17, the occupied points are at positions (6, 8, 4), (7, 8, 4), (7, 9, 4), (6, 9, 5) of level 4 of the hierarchy of point cloud data. In this simplified example, level 4 is the top level of the hierarchy. As such, the weights for the occupied points at level 4 are each 1. For the transform of attributes g_(4,6,8,4) and g_(4,7,8,4), the transform matrix is:

$T_{w\; 1\; w\; 2} = {{\frac{1}{\sqrt{2}}\begin{bmatrix} 1 & 1 \\ {- 1} & 1 \end{bmatrix}} = {\begin{bmatrix} \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} \\ {- \frac{1}{\sqrt{2}}} & \frac{1}{\sqrt{2}} \end{bmatrix}.}}$

After the attributes g_(4,6,8,4) and g_(4,7,8,4) are transformed, the weight w′_(4,6,8,4) for the new attribute g′_(4,6,8,4) is 2: w′_(4,6,8,4)=w_(4,6,8,4)+w_(4,7,8,4). The attributes g_(4,7,9,4) and g_(4,6,9,5) are each passed through without adjustment, and their associated weights are unchanged (still 1). In the next step of the transform process, the attributes g′_(4,6,8,4) and g′_(4,6,9,4) are transformed, producing a new attribute g″_(4,6,8,4). For this transform, the transform matrix is:

$T_{w\; 1\; w\; 2} = {{\frac{1}{\sqrt{3}}\begin{bmatrix} \sqrt{2} & 1 \\ {- 1} & \sqrt{2} \end{bmatrix}} = {\begin{bmatrix} \frac{\sqrt{2}}{\sqrt{3}} & \frac{1}{\sqrt{3}} \\ {- \frac{1}{\sqrt{3}}} & \frac{\sqrt{2}}{\sqrt{3}} \end{bmatrix}.}}$

The weight w″_(4,6,8,4) for the new attribute g″_(4,6,8,4) is 3: w″_(4,6,8,4)=w′_(4,6,8,4)+w′_(4,6,9,4). The attribute g′_(4,6,9,5) is passed through without adjustment, and its associated weight is unchanged (still 1). In the next step of the transform process, the attributes g″_(4,6,8,4) and g″_(4,6,8,5) are transformed, producing a new attribute g′″_(4,6,8,4). For this transform, the transform matrix is:

$T_{w\; 1\; w\; 2} = {{\frac{1}{\sqrt{4}}\begin{bmatrix} \sqrt{3} & 1 \\ {- 1} & \sqrt{3} \end{bmatrix}} = {\begin{bmatrix} \frac{\sqrt{3}}{2} & \frac{1}{2} \\ {- \frac{1}{2}} & \frac{\sqrt{3}}{2} \end{bmatrix}.}}$

The weight w′″_(4,6,8,4) for e new attribute g′″_(4,6,8,4) is 4: w′″_(4,6,8,4)=w′_(4,6,8,4)+w″_(4,6,8,5). The weight w′″_(4,6,8,4) may be used for subsequent transforms at level 3.

In FIG. 17, the inverse transform mirrors the forward transform. The values ĝ′″_(4,6,8,4) and ĥ_(4,6,8,5) are inverse transformed, producing reconstructed attributes ĝ″_(4,6,8,4) and ĝ″_(4,6,8,5). The weight w″_(4,6,8,4) for the reconstructed attribute ĝ″_(4,6,8,4) is 3, and the weight w″_(4,6,8,5) for the reconstructed attribute ĝ″_(4,6,8,5) is 1. For this inverse transform, the transform matrix is:

$T_{w\; 1\; w\; 2}^{T} = {{\frac{1}{\sqrt{4}}\begin{bmatrix} \sqrt{3} & {- 1} \\ 1 & \sqrt{3} \end{bmatrix}} = {\begin{bmatrix} \frac{\sqrt{3}}{2} & {- \frac{1}{2}} \\ \frac{1}{2} & \frac{\sqrt{3}}{2} \end{bmatrix}.}}$

Next, the values ĝ″_(4,6,8,4) and ĥ_(4,6,9,4) are inverse transformed, producing reconstructed attributes g′_(4,6,8,4) and g′_(4,6,9,4). The weight w′_(4,6,8,4) for the reconstructed attribute g′_(4,6,8,4) is 2, and the weight w′_(4,6,9,4) for the reconstructed attribute g′_(4,6,9,4) is 1. Thus, for this inverse transform, the transform matrix is:

$T_{w\; 1\; w\; 2}^{T} = {{\frac{1}{\sqrt{3}}\begin{bmatrix} \sqrt{2} & {- 1} \\ 1 & \sqrt{2} \end{bmatrix}} = {\begin{bmatrix} \frac{\sqrt{2}}{\sqrt{3}} & {- \frac{1}{\sqrt{3}}} \\ \frac{1}{\sqrt{3}} & \frac{\sqrt{2}}{\sqrt{3}} \end{bmatrix}.}}$

The reconstructed attribute ĝ″_(4,6,8,5) is passed through without adjustment, and its associated weight is unchanged (still 1). Next, the values ĝ_(4,6,8,4) and ĥ_(4,7,8,4) are inverse transformed, producing reconstructed attributes ĝ_(4,6,8,4) and ĝ_(4,7,8,4). The weight w_(4,6,8,4) for the reconstructed attribute ĝ_(4,6,8,4) is 1, and the weight w_(4,7,8,4) for the reconstructed attribute ĝ_(4,7,8,4) is 1. Thus, for this inverse transform, the transform matrix is:

$T_{w\; 1\; w\; 2}^{T} = {{\frac{1}{\sqrt{2}}\begin{bmatrix} 1 & {- 1} \\ 1 & 1 \end{bmatrix}} = {\begin{bmatrix} \frac{1}{\sqrt{2}} & {- \frac{1}{\sqrt{2}}} \\ \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{2}} \end{bmatrix}.}}$

The reconstructed attributes ĝ′_(4,6,9,4) and ĝ′_(4,6,9,5) are each passed through without adjustment, and their associated weights are unchanged (still 1).

Formally, the RAHT can be described recursively as follows. Suppose s₁=(s₁₁, . . . , s_(1w1)) and s₂=(s₂₁, . . . , s_(2w2)) are signal vectors defined over non-intersecting domains (i.e., regions)

₁ and

₂, respectively, where w1 is the cardinality of

₁ (w1=|

₁|), and w1 is the cardinality of

₂ (w2=|

₂|). Also suppose the transforms are t₁=(t₁₁, . . . t_(1w1)) and t₁=(t₁₁, . . . , t_(1w1)), respectively. Suppose s=(s₁₁, . . . , s_(1w1), s₂₁, . . . , s_(2w2)) is the concatenated signal vector defined over

=

₁∪

₂. In this case, the (w1+w2)-point transform of s is t=(at₁₁+bt₂₁, t₁₂, . . . , t_(1w1), −bt₁₁+at₂₁, t₂₂ . . . , t_(2w2)), where a√{square root over (w1/(w1+w2))} and b=√{square root over (w2/(w1+w2))}. That is, the matrix:

$T_{w\; 1\; w\; 2} = {\frac{1}{\sqrt{{w\; 1} + {w\; 2}}}\begin{bmatrix} \sqrt{w\; 1} & \sqrt{w\; 2} \\ {- \sqrt{w\; 2}} & \sqrt{w\; 1} \end{bmatrix}}$

is applied to the first (“DC”) components of t₁ and t₂ (namely t₁₁ and t₂₁) to obtain the first (“DC”) and w1+1′th components of t, while the other components remain unchanged. As the base case, the transform of a scalar is the scalar itself. The domain of definition is a discrete abstract set and can be embedded in any dimension.

In example implementations, the RAHT and inverse RAHT can be performed “in place.” This can greatly simplify implementation by avoiding use of extra memory locations to store intermediate values.

FIG. 18 shows an example (1800) illustrating features of a hierarchical weighted transform. The example (1800) shows a hierarchical weighted transform applied to attributes (1810) of points in a 4×4 block in 2D space. (For the sake of simplicity, and to illustrate adjustment of weights between levels of the weighted transform, a 2D example is shown in FIG. 18. For point cloud compression, attributes in 3D blocks are transformed using a weighted hierarchical transform, as described above.)

In FIG. 18, the attributes (1810) of points in a 4×4 block include attributes for eight occupied points. The occupied points are labeled a₀ . . . a₈. Unoccupied points are empty. Pairs of attributes at horizontally adjacent positions of the 4×4 block are transformed, producing lowpass coefficients (1820) and highpass coefficients (1830). When a pair includes a single occupied point, the attribute for that single occupied point is passed through as the lowpass coefficient. This is the case for attributes a₀, a₁, a₂, a₃, a₄, and a₅. For these six attributes, the weights are determined as shown—each attribute has a weight of 1. For the other two attributes (a₆ and a₇), the transform produces a lowpass coefficient b₀ and a highpass coefficient c₀.

$\begin{bmatrix} b_{0} \\ c_{0} \end{bmatrix} = {{T_{11}\begin{bmatrix} a_{6} \\ a_{7} \end{bmatrix}}.}$

For the lowpass coefficient b₀ and highpass coefficient c₀, the weights are updated as shown—each coefficient has a weight of 2 since attributes for two occupied points were combined.

The lowpass coefficients (1820) are further transformed as attributes. Pairs of attributes at vertically adjacent positions (among the lowpass coefficients (1820)) are transformed, producing lowpass coefficients (1840) and highpass coefficients (1850). One pair includes a single occupied point (a₀), and the attribute for that single occupied point is passed through as one of the lowpass coefficients (1840). For this attribute, the weight is unchanged (weight of 1). For pairs of the other attributes (a₁ and a₂, a₃ and a₅, a₄ and b₀), the transform produces lowpass coefficients (d₀, d₁, and d₂ for the three pairs, respectively) and highpass coefficients (e₀, e₁, and e₂ for the three pairs, respectively).

${{{{\begin{bmatrix} d_{0} \\ e_{0} \end{bmatrix} = {T_{11}\begin{bmatrix} a_{1} \\ a_{2} \end{bmatrix}}};}\begin{bmatrix} d_{1} \\ e_{1} \end{bmatrix}} = {T_{11}\begin{bmatrix} a_{3} \\ a_{5} \end{bmatrix}}};{{{and}\begin{bmatrix} d_{2} \\ e_{2} \end{bmatrix}} = {{T_{12}\begin{bmatrix} a_{4} \\ b_{0} \end{bmatrix}}.}}$

The weights for d₀, d₁, e₀, and e₁ are updated to be 2 (since two attributes having weight 1 were combined). The weights for d₂ and e₂ is updated to be 3 (since an attribute having weight 1 was combined with an attribute having weight 2).

Next, the lowpass coefficients (1840) are further transformed as attributes. Pairs of attributes at horizontally adjacent positions (among the lowpass coefficients (1840)) are transformed, producing lowpass coefficients (1860) and highpass coefficients (1870). For each pair of the attributes (a₀ and d₀, d₁ and d₃), the transform produces a lowpass coefficient (f₀ for the first pair, and f₁ for the second pair) and a highpass coefficient (g₀ for the first pair, and g₁ for the second pair).

${\begin{bmatrix} f_{0} \\ g_{0} \end{bmatrix} = {T_{12}\begin{bmatrix} a_{0} \\ d_{0} \end{bmatrix}}};{{{and}\begin{bmatrix} f_{1} \\ g_{1} \end{bmatrix}} = {{T_{23}\begin{bmatrix} d_{1} \\ d_{2} \end{bmatrix}}.}}$

The weights for f₀ and g₀ are updated to be 3 (since an attribute having weight 1 was combined with an attribute having weight 2). The weights for f₁ and g₁ are updated to be 5 (since an attribute having weight 2 was combined with an attribute having weight 3).

Finally, the lowpass coefficients (1860) are further transformed as attributes. The pair of attributes at vertically adjacent positions (among the lowpass coefficients (1860)) is transformed, producing a lowpass coefficient h₀ (1880), which corresponds to the DC coefficient, and a highpass coefficient i₀ (1890).

$\begin{bmatrix} h_{0} \\ i_{0} \end{bmatrix} = {{T_{35}\begin{bmatrix} f_{0} \\ f_{1} \end{bmatrix}}.}$

The weights for h₀ and i₀ are updated to be 8 (since an attribute having weight 3 was combined with an attribute having weight 5).

In the example (1800) of FIG. 18, the final number of coefficients (8) is the same as the number of occupied points. The coefficients that are encoded and output are c₀, e₀, e₁, e₂, g₀, g₁, and i₀. The coefficient h₀ can be encoded and output, or it can be passed to a lower level. The weights need not be signaled explicitly, since they can be derived from compressed geometry data that is output.

3. Compression Using a RAHT.

FIG. 19 shows an example technique (1900) for applying a RAHT during coding of attributes of occupied points of point cloud data. An encoder such as the encoder (301) of FIG. 3a , encoder (302) of FIG. 3b , or other encoder performs the technique (1900) when performing a RAHT during encoding (e.g., in stage (620) described with reference to FIG. 6).

To start, the encoder selects (1910) a level of a hierarchy for point cloud data. The encoder can start at the top level of the hierarchy (i.e., at level L of an L-level decomposition). In later iterations, the encoder can select successively lower levels of the hierarchy for point cloud data.

At a given level of the hierarchy for the point cloud data, the encoder performs operations for each of one or more groups of points at the level. Thus, at the selected level (given level), the encoder selects (1920) a group of points (given group) with at least one occupied point. The encoder applies (1930) the transform to any attributes of occupied points of the given group. At the top level of the hierarchy, the attributes are initially actual values of attributes of occupied points of the given group. If the given level is not the top level of the hierarchy, the attributes of occupied points of the given group are initially reserved values (i.e., lowpass coefficients) passed from a next higher level in the hierarchy. Also, for a given group, the attributes can be intermediate attributes that result from one or more previous transforms applied to attributes of occupied points of the given group (e.g., from transforming along the x axis, or x and y axes).

In some example implementations, the transform is a weighted transform. The weights of the weighted transform depend at least in part on counts of occupied points that contribute to the occupied points of the given group. Section V.D.2 describes examples of such weighting. Alternatively, the transform is weighted in some other way.

For the given group, the transform can be iteratively applied along each of three axes in the 3D space. For example, as shown in FIG. 20, the encoder can apply (2010) the transform to attributes of occupied points along the x axis, then apply (2020) the transform to attributes of occupied points along the y axis (that is, to lowpass coefficients resulting from the transform along the x axis), and then apply (2030) the transform to attributes of occupied points along the z axis (that is, to lowpass coefficients resulting from the transform along the y axis).

The definition of the transform depends on implementation. For example, for two adjacent points of the given group, the transform includes the following operations. If both of the two adjacent points are occupied, the encoder converts the attributes of the two adjacent points into a lowpass coefficient and a highpass coefficient. The highpass coefficient is one of the transform coefficients that are output. The lowpass coefficient can be a value reserved for successive application of the transform at a lower level. Or, the lowpass coefficient can be an intermediate attribute for additional transforming at the given level (when transforming along another axis). If only one of the two adjacent points is occupied, the encoder passes through the attribute of the occupied point to be the reserved value or the intermediate attribute.

Transforming the attributes produces one or more values for the given group. The value(s) include any of the transform coefficients (e.g., highpass coefficients) that are associated with the given group at the given level. If the given level is not the bottom level of the hierarchy, the encoder reserves one of value(s) for the given group. The reserved value (lowpass coefficient) will be used as an attribute of an occupied point at a next lower level in the hierarchy, in successive application of the RAHT at the next lower level.

The encoder checks (1940) whether there are any more groups with occupied points at the given level. If so, the encoder continues by selecting (1920) the next group of points with at least one occupied point at the given level. Otherwise (no more groups with occupied points at the given level), the encoder checks (1950) whether there are any more levels of the hierarchy. If so, the encoder continues by selecting (1910) the next (lower) level of the hierarchy.

In this way, the encoder applies the transform to successively lower levels of the hierarchy of point cloud data. Suppose the hierarchy includes a bottom level, zero or more intermediate levels, and a top level. For each of the top level and zero or more intermediate levels (as the given level), the encoder can perform the transforming and the reserving (of lowpass coefficients) for each of the group(s) of points at the given level. This provides at least one reserved value for the next lower level. It also provides, as output, any of the transform coefficients that are associated with the given level (that is, highpass coefficients). At the bottom level of the hierarchy, for a group of points at the bottom level, the encoder can transform any attributes of occupied points of the group at the bottom level. This produces one or more of the transform coefficients (that is, lowpass coefficient and highpass coefficient(s) for the bottom level).

According to FIG. 19, an encoder applies the technique (1900) during coding of attributes of occupied points for intra-frame compression. The same technique (1900) can be used during inter-frame compression—applying a RAHT to prediction residuals for attributes of occupied points, instead of to the attributes themselves.

4. Decompression Using an Inverse RAHT.

FIG. 21 shows an example technique (2100) for applying an inverse RAHT during decoding of transform coefficients for attributes of occupied points of point cloud data. A decoder such as the decoder (401) of FIG. 4a , decoder (402) of FIG. 4b , or other decoder performs the technique (2100) when performing an inverse RAHT during decoding (e.g., in stage (840) described with reference to FIG. 8).

To start, the decoder selects (2110) a level of a hierarchy for point cloud data. The decoder can start at the bottom level of the hierarchy (i.e., at level 1 of an L-level decomposition). In later iterations, the decoder can select successively higher levels of the hierarchy for point cloud data.

At a given level of the hierarchy for the point cloud data, the decoder performs operations for each of one or more groups of points at the level. Thus, at the selected level (given level), the decoder selects (2120) a group of points (given group) with at least one occupied point. The decoder applies (2130) the inverse transform to one or more values for any attributes of occupied points of the given group. The inverse transformed value(s) include any of the transform coefficients (e.g., highpass coefficients) that are associated with the given group at the given level. At the bottom level of the hierarchy, the inverse transformed value(s) are initially lowpass and highpass coefficients for attributes of occupied points of the given group. If the given level is not the bottom level of the hierarchy, the inverse transformed value(s) initially include a value (attribute) passed from a next lower level in the hierarchy as well as one or more highpass coefficients associated with the given group at the given level. Also, for a given group, the value(s) can include an intermediate attribute that results from one or more previous inverse transforms applied to values for attributes of occupied points of the given group (e.g., from transforming along the z axis, or z and y axes), as well as one or more highpass coefficients.

In some example implementations, the inverse transform is a weighted inverse transform. The weights of the weighted inverse transform depend at least in part on counts of occupied points that contribute to the occupied points of the given group. Section V.D.2 describes examples of such weighting. Alternatively, the inverse transform is weighted in some other way.

For the given group, the inverse transform can be iteratively applied along each of three axes in the 3D space. For example, as shown in FIG. 22, the decoder can apply (2210) the inverse transform to values (a lowpass coefficient/attribute from the next lower level and a highpass coefficient) for attributes of occupied points along the z axis, then apply (2220) the inverse transform to values (one or more intermediate attributes from the inverse transform along the z axis, and one or more highpass coefficients) for attributes of occupied points along the y axis, and then apply (2230) the inverse transform to values (one or more intermediate attributes from the inverse transform along the y axis, and one or more highpass coefficients) for attributes of occupied points along the x axis.

The definition of the inverse transform depends on implementation. For example, for two adjacent points of the given group, the inverse transform includes the following operations. If both of the two adjacent points are occupied, the decoder converts a lowpass coefficient and a highpass coefficient into the attributes of the two adjacent points. The highpass coefficient is one of the transform coefficients that were received and decoded. The lowpass coefficient can be an attribute passed from the next lower level. Or, the lowpass coefficient can be an intermediate attribute from previous inverse transforming at the given level (when inverse transforming along another axis). If only one of the two adjacent points is occupied, the decoder passes through, to be the attribute of the occupied point of the given group, the attribute of the occupied point from the next lower level or the intermediate attribute.

Inverse transforming the value(s) produces the attributes of occupied points of the given group. If the given level is not the top level of the hierarchy, the decoder reserves the attributes of occupied points of the given group. The reserved values will be used as lowpass coefficients (attributes of occupied points) at a next higher level in the hierarchy, in successive application of the inverse RAHT at the next higher level.

The decoder checks (2140) whether there are any more groups with occupied points at the given level. If so, the decoder continues by selecting (2120) the next group of points with at least one occupied point at the given level. Otherwise (no more groups with occupied points at the given level), the decoder checks (2150) whether there are any more levels of the hierarchy. If so, the decoder continues by selecting (2110) the next (higher) level of the hierarchy.

In this way, the decoder applies the inverse transform to successively higher levels of the hierarchy of point cloud data. Suppose the hierarchy includes a bottom level, zero or more intermediate levels, and a top level. For each of the bottom level and zero or more intermediate levels (as the given level), the decoder can perform the inverse transforming and the reserving (of attributes) for each of the group(s) of points at the given level. This provides at least one reserved value for the next higher level. It also uses, as input for the inverse transforming, any of the transform coefficients that are associated with the given level (that is, highpass coefficients). At the top level of the hierarchy, for each of the group(s) of points at the top level, the decoder can inverse transform values (that is, passed attributes as lowpass coefficients, and highpass coefficients) for any attributes of occupied points of the group(s) at the top level. This produces the reconstructed attributes of occupied points for the point cloud data.

According to FIG. 21, a decoder applies the technique (2100) during decoding of attributes of occupied points for intra-frame decompression. The same technique (2100) can be used during inter-frame decompression—applying an inverse RAHT to transform coefficients for prediction residuals for attributes of occupied points, instead of to transform coefficients for the attributes themselves.

5. Alternatives and Variations.

A single application of the RAHT reduces to the Haar transform when weights are uniform. This is the case when a region is fully occupied. The RAHT can be considered a region-adaptive variation of the Haar transform.

In many of the preceding examples, the RAHT and inverse RAHT use pair-wise transforms. Alternatively, the RAHT and inverse RAHT use transforms that operate on more than a pair of values at a time. For example, the RAHT and inverse RAHT can use a transform based on a 4-point Haar transform, with appropriate weighting for counts of occupied points. Or, the RAHT and inverse RAHT switch between different transform sizes. For example, the RAHT and inverse RAHT switch between 2-point and 4-point transform sizes.

E. Coefficient Coding and Decoding.

This section describes examples of quantization and entropy coding of transform coefficients produced by applying a RAHT, as well as examples of entropy decoding and inverse quantization of such transform coefficients.

As explained above, the transform coefficients produced by applying a RAHT have weights associated with them. For a transform coefficient, the weight generally indicates the count of occupied points that have contributed attributes to the transform coefficient. For highpass coefficients generated in initial transforms, the weight is 2. For highpass coefficients generated in later transforms, the weight is higher. In this role, the weights can be used as a proxy for the perceptual importance of the respective transform coefficients.

A subband can be defined as the collection of all coefficients that are associated with the same weight. For example, a highpass coefficient h_(la,xa,ya,za) is in the same subband as another highpass coefficient h_(lb,xb,yb,zb) if and only if the two highpass coefficients have the same weight (that is, w_(la,xa,ya,za)=w_(lb,xb,yb,zb)). Highpass coefficients in the same subband can be associated with the same level l of a hierarchy of point cloud data, or they can be associated with different levels. Also, the DC coefficient can be treated as forming its own subband, even though the weight for the DC coefficient is the same as the weight for the lowest-frequency highpass coefficient.

Suppose there are N_(v) occupied points in point cloud data. After the RAHT, transform coefficients can be organized into S subbands, with each subband having N_(m) transform coefficients. In typical examples of point cloud compression, S is, for example, around 2,000, although there can be more or fewer subbands depending on the density of occupied points. In example implementations, the overall number of transform coefficients is the same as the number N_(v) of occupied points:

${\sum\limits_{m = 0}^{S - 1}\; N_{m}} = {N_{v}.}$

Suppose H ({att_(i)}) represents the RAHT for set of attributes {att_(i)}, which uses geometry data that indicates the occupied points having those attributes. The transform coefficients resulting from the RAHT can be organized by subband m and coefficient index n as follows: f_(atti)(m,n)=H({att_(i)}), where m indicates a subband index in the range of 0≦m<S, and n indicates a coefficient index in the range of 0≦n<N_(m) within the m^(th) subband.

An encoder and decoder can use geometry data to determine which coefficients are in the respective subbands. The encoder compresses the geometry data, as described in section V.C, and outputs the compressed geometry data as part of the encoded data for a point cloud. The decoder decompresses the geometry data. The encoder and decoder use the geometry data, including indicators of which points are occupied points, to determine the hierarchical decomposition that is followed in the RAHT and reversed in the inverse RAHT. Thus, the encoder and decoder each can determine the number of subbands S, the count N_(m) of transform coefficients in each subband, and which transform coefficients are in each subband.

1. Examples of Non-Adaptive Entropy Coding and Decoding.

In some example implementations, the transform coefficients produced by applying a RAHT are coded using quantization and non-adaptive entropy coding. The transform coefficients can be reconstructed using non-adaptive entropy decoding and inverse quantization.

After an encoder applies the RAHT to attributes {att_(i)} of occupied points of point cloud data to produce transform coefficients f_(atti)(m,n), the encoder quantizes the transform coefficients. For example, the encoder uses a uniform quantizer with quantization step size Q, generating quantized transform coefficients k_(mn) by k_(mn)=round(f_(atti)(m,n)/Q). The encoder can use a single quantization step size Q for all transform coefficients. Or, the encoder can vary the quantization step size Q. For example, the encoder can use different quantization step sizes for different tiles. Or, the encoder can use different quantization step sizes for different subbands. Or, the encoder can use different quantization step sizes for different blocks. In a real-time system, the quantization step size can be set dynamically based on feedback from the decoder/renderer (e.g., depending on the distance between the viewer and rendered object). Alternatively, the encoder uses some other form of quantization. The encoder encodes and outputs parameters indicating the quantization step size(s) Q as part of the encoded data.

The encoder entropy codes the quantized transform coefficients k_(mn). For example, the encoder uses arithmetic coding, RLGR coding, or some other form of entropy coding. The entropy coding is non-adaptive. For example, it uses a fixed, pre-defined model for the distribution of quantized transform coefficients, or uses multiple fixed, pre-defined models for the distributions of quantized transform coefficients in different subbands or groups of subbands.

The encoder repeats this process for other attributes of the point cloud data. For example, the encoder encodes luma (Y) sample values for occupied points, then encodes first chroma (U) sample values for the occupied points, and then encodes second chroma (V) sample values for the occupied points. Alternatively, the encoder encodes other and/or additional attributes.

In general, a decoder operates in a reverse manner. The decoder entropy decodes the quantized transform coefficients, producing the quantized transform coefficients k_(mn). For example, the decoder uses arithmetic decoding, RLGR decoding, or some other form of entropy decoding. The entropy decoding is non-adaptive. For example, it uses the same fixed, pre-defined model applied during encoding for the distribution of quantized transform coefficients, or it uses the same multiple fixed, pre-defined models applied during encoding for the distributions of quantized transform coefficients in different subbands or groups of subbands.

The decoder receives and decodes the parameters indicating the quantization step size(s) Q used during quantization of the quantized transform coefficients k_(mn). As indicated by the parameters provided by the encoder, the decoder can use a single quantization step size Q for all transform coefficients, or the decoder can vary the quantization step size Q. After reconstructing the quantization step size(s) Q, the decoder inverse quantizes the quantized transform coefficients k_(mn). For example, the decoder uses a uniform scalar quantizer to reconstruct an approximation {circumflex over (f)}_(atti)(m,n) of the transform coefficients: {circumflex over (f)}_(atti)(m,n)=k_(mn)×Q. Alternatively, the decoder uses some other form of inverse quantization. The decoder performs the inverse RAHT to reconstruct versions of the attributes {att_(i)}. Depending on the level of quantization error introduced (and the extent to which {circumflex over (f)}_(atti)(m,n) differs from f_(atti)(m,n)), the reconstructed versions of the attributes may differ from the original attributes.

The decoder repeats this process for other attributes of the point cloud data. For example, the decoder decodes luma (Y) sample values for occupied points, then decodes first chroma (U) sample values for the occupied points, and then decodes second chroma (V) sample values for the occupied points. Alternatively, the decoder decodes other and/or additional attributes.

2. Examples of Adaptive Entropy Coding and Decoding.

In some example implementations, the transform coefficients produced by applying a RAHT are coded using quantization and adaptive entropy coding. For example, quantized transform coefficients from the RAHT are entropy coded using an adaptive arithmetic coder, which is driven by parameters that depend on distributions of values of quantized transform coefficients in different subbands. The parameters are encoded and output as part of encoded data. During decoding, the parameters can be reconstructed and used to adapt arithmetic decoding, and transform coefficients can be reconstructed using inverse quantization.

In typical scenarios, quantized transform coefficients produced by RAHT have a distribution that is symmetric about zero, but the shape of the distribution can very from subband to subband, and depending on content. The encoder can calculate a parameter that indicates the shape (slope, steepness, etc.) of the distribution of quantized transform coefficients in a subband or group of subbands, then use that parameter to adapt entropy coding. For example, if the distribution of quantized transform coefficients is sharp and steep, the entropy coding can be skewed to encode zero and low-amplitude values very efficiently. On the other hand, if the distribution of quantized transform coefficients is relatively flat, the entropy coding can be skewed to encode higher-amplitude values more efficiently.

FIG. 23 shows an example (2300) of adaptive entropy coding and decoding of quantized transform coefficients from a RAHT. As part of the adaptive entropy encoding, the encoder codes transform coefficients f_(atti)(m,n) for attributes ({att_(i)}) of occupied points of point cloud data, producing coded parameters for distributions and coded transform coefficients. The decoder uses the coded parameters and coded transform coefficients to produce reconstructed versions {circumflex over (f)}_(atti)(m,n) of the transform coefficients.

As shown in FIG. 23, after an encoder applies the RAHT to attributes {att_(i)} of occupied points of point cloud data to produce transform coefficients f_(atti)(m,n), the encoder quantizes (2310) the transform coefficients f_(atti)(m,n). For example, the encoder uses a uniform quantizer with quantization step size Q, generating quantized transform coefficients k_(mn) by k_(mn)=round (f_(atti)(m,n)/Q). The encoder can use a single quantization step size Q for all transform coefficients. Or, the encoder can vary the quantization step size Q. For example, the encoder can use different quantization step sizes for different tiles. Or, the encoder can use different quantization step sizes for different subbands. Or, the encoder can use different quantization step sizes for different blocks. In a real-time system, the quantization step size can be set dynamically based on feedback from the decoder/renderer (e.g., depending on the distance between the viewer and rendered object). Alternatively, the encoder uses some other form of quantization. The encoder encodes and outputs parameters indicating the quantization step size(s) Q as part of the encoded data.

Next, the encoder splits (2320) the quantized transform coefficients k_(mn) into multiple buckets using the weights associated with the respective quantized transform coefficients. The number of buckets is U. Each of the multiple buckets can be associated with a different subband (that is, a different weight). Or, a given one of the multiple buckets can be associated with a range of multiple subbands (that is, a range of weights). The subbands can be split evenly into multiple buckets, such that each of the multiple buckets has (at least roughly) quantized transform coefficients for the same number of subbands. Or, the subbands can be split unevenly (e.g., so that subbands have roughly the same number of quantized transform coefficients but may have different numbers of subbands). The encoder provides the quantized transform coefficients k_(mn), split into buckets or otherwise, to an entropy coder, which awaits parameters that specify the distributions of values in the respective buckets.

The encoder calculates (2330) estimates of distributions of values in at least some of the respective buckets. For example, the estimate of the distribution of values in a bucket u is a parameter b_(u) of a Laplacian distribution that characterizes the distribution of values. For a bucket u associated with a single subband, suppose each transform coefficient X within a given subband has a Laplacian density with parameter b:

${p(X)} = {\frac{1}{2\; b}e^{\frac{X}{b}}}$

The variance σ² of the quantized transform coefficients is σ²=2b². Also suppose the transform coefficient X is uniformly scalar quantized with a quantization step size Q, producing a quantized transform coefficient k as: k=round(X/Q). The probability that X lies in the k^(th) quantization bin is:

$p_{k}\overset{\bigtriangleup}{=}{{P\left( {{\left( {k - {1/2}} \right)Q} \leq X < {\left( {k + {1/2}} \right)Q}} \right)} = {{\int_{{({k\frac{1}{2}})}Q}^{{({k + \frac{1}{2}})}Q}{\frac{1}{2\; b}e^{\frac{x}{b}}{dx}}} = \left\{ {\begin{matrix} {\frac{1}{2}{e^{- \frac{{k}Q}{b}}\left( {e^{\frac{Q}{2\; b}} - e^{- \frac{Q}{2\; b}}} \right)}} & {{{for}\mspace{14mu} k} \neq 0} \\ {1 - e^{- \frac{Q}{2\; b}}} & {{{for}\mspace{14mu} k} = 0} \end{matrix}.} \right.}}$

The fractional rate r(k,b) (in nats) used by arithmetic coding to encode the quantized transform coefficient if it falls into the k^(th) quantization bin is:

${r\left( {k,b} \right)} = {{{- \ln}\mspace{11mu} p_{k}} = \left\{ {\begin{matrix} {\frac{{k}Q}{b} - {\ln \left( {\sinh \left( \frac{Q}{2\; b} \right)} \right)}} & {{{for}\mspace{14mu} k} \neq 0} \\ {- {\ln \left( {1 - e^{- \frac{Q}{2\; b}}} \right)}} & {{{for}\mspace{14mu} k} = 0} \end{matrix}.} \right.}$

When Q<<2b, fractional rate r(k,b) is well-approximated for all k by:

${{r\left( {k,b} \right)} \approx {\overset{\sim}{r}\left( {k,b} \right)}} = {\frac{{k}Q}{b} - {{\ln \left( \frac{Q}{2\; b} \right)}.}}$

This provides a probability model for arithmetic coding. Any valid parameter b can be used, as long as the encoder and decoder agree on it.

For a bucket u with quantized transform coefficients of a single subband m, in order to find an acceptable parameter choice, the encoder can sum the fractional rate r(k,b) over all symbols k_(n) in a given subband m, taking the derivative with respect to b, and equating to zero:

${\frac{d}{db}{\sum\limits_{n = 0}^{N_{m} - 1}\; {\overset{\sim}{r}\left( {k_{mn},b} \right)}}} = {{\sum\limits_{n = 0}^{N_{m} - 1}\left( {{- \frac{{k_{mn}}Q}{b^{2}}} + \frac{1}{b}} \right)} = 0.}$

For the bucket u associated with a single subband m, the encoder can calculate the value of b_(m) that minimizes the number of bits needed to encode the N_(m) symbols in the subband as:

${b_{m}^{*} = {\frac{1}{N_{m}}{\sum\limits_{n = 0}^{N_{m} - 1}{{k_{mn}}Q}}}},$

where the parameter b*_(m) indicates the parameter b* for the m^(th) subband. In other words, the parameter b*_(m) can be calculated as the average of the absolute values of reconstructed transform coefficients in the subband m. In this case, the parameter for the bucket b*_(u) is b*_(m).

If a bucket u includes quantized transform coefficients for multiple subbands, the parameter b*_(u) can be calculated, using the preceding equation, as the average of absolute values of all reconstructed transform coefficients in the bucket u. In any case, the set of parameters {b*_(u)} are conveyed to the decoder so they can be used in adaptive arithmetic decoding.

Alternatively, for a different type of entropy coding, the encoder calculates the set of parameters {b*_(u)} in a manner appropriate for the probability model associated with that type of entropy coding. For example, for RLGR coding, the encoder may reduce b*_(u) by raising it to a power less than one whenever the encoder encodes an index k whose absolute value is less than the supposed mean b*_(u)/Q; otherwise, the encoder may increase b*_(u) by raising it to a power greater than one. Similarly, the decoder may reduce b*_(u) by raising it to a power less than one whenever the decoder decodes an index k whose absolute value is less than the supposed mean b*_(u)/Q; otherwise, the decoder may increase b*_(u) by raising it to a power greater than one. In this way, the decoder may track the encoder's adaptation, and explicit signaling of the parameter b*_(u) to the decoder can be skipped.

With reference to FIG. 23, to convey the estimates for the subbands to the decoder, the encoder quantizes (2340) the estimates (specifically, the parameters {b*_(u)} indicating the estimates) and encodes (2350) the quantized estimates. Quantization of the parameters {b*_(u)} will introduce some errors in the estimates. As a result, the total number of bits used to encode the quantized transform coefficients typically increases slightly (due to decreased efficiency of the adaptive entropy coding of the quantized transform coefficients). To determine how to quantize the parameters {b*_(u)}, the encoder can trade off the increase in bit rate for quantized transform coefficients against the number of bits used to encode the parameters {b*_(u)} themselves.

For a bucket u that includes quantized transform coefficients for a single subband m, the encoder could quantize the parameter b*_(m) in the log domain using a uniform scalar quantizer (φ*_(m)=ln b*_(m)), then entropy code the quantized parameter φ*_(m) as part of a sequence of such parameters for other buckets/subbands. For a quantized value φ=φ*_(m)+ε, the total number of nats needed to code the coefficients in subband m rises from its minimum

$\sum\limits_{n = 0}^{N_{m} - 1}{\overset{\sim}{r}\left( {k_{mn},b_{m}^{*}} \right)}$

to:

${{f(\varphi)} = {{\sum\limits_{n = 0}^{N_{m} - 1}{\overset{\sim}{r}\left( {k_{mn},e^{\varphi}} \right)}} \approx {{\sum\limits_{n = 0}^{N_{m} - 1}{\overset{\sim}{r}\left( {k_{mn},b_{m}^{*}} \right)}} + {\frac{N_{m}}{2}ɛ^{2}}}}},$

which is the second-order Taylor expansion of f(φ) around φ*_(m). N_(m), which is the number of coefficients in subband m, is the second derivative of f(φ) at φ=φ*_(m):

${\frac{d^{2}f}{d\; \varphi^{2}}\left( \varphi_{m}^{*} \right)} = {{{\frac{d^{2}}{d\; \varphi^{2}}{\sum\limits_{n = 0}^{N_{m} - 1}\left( {\frac{{k_{mn}}Q}{e^{\varphi}} - {\ln \left( \frac{Q}{2e^{\varphi}} \right)}} \right)}}_{\varphi = \varphi_{m}^{*}}} = {{\sum\limits_{n = 0}^{N_{m} - 1}\frac{{k_{mn}}Q}{e^{\varphi_{m}^{*}}}} = {{\sum\limits_{n = 0}^{N_{m} - 1}\frac{{k_{mn}}Q}{b_{m}^{*}}} = {N_{m}.}}}}$

Thus, N_(m)ε²/2 is the increase in the number of nats needed by arithmetic coding to encode the coefficients in subband m if the quantized log parameter φ*_(m)+ε is used instead of the optimal log parameter φ*_(m). This increase is independent of the parameter φ*_(m) (and b*_(m)), so the desired step size of the quantizer for b*_(m) is independent of the parameter b*_(m) itself. If δ_(m) is the step size of the quantizer for b*_(m), then according to high-rate quantizer theory the expected squared error of the quantizer is approximately δ_(m) ²/12. Its expected rate is approximately h−ln δ_(m), where h is the differential entropy of the random variable to be quantized. Adding h−ln δ_(m) to the expected value f(φ), the expected total number of nats for subband m is:

$h - {\ln \mspace{11mu} \delta_{m}} + {\sum\limits_{n = 0}^{N_{m} - 1}{\overset{\sim}{r}\left( {k_{mn},b_{m}^{*}} \right)}} + {\frac{N_{m}}{2}{\frac{\delta_{m}^{2}}{12}.}}$

This is minimized (taking the derivative with respect to δ_(m) and equating to zero) by:

${\delta_{m} = \frac{C}{\sqrt{N_{m}}}},$

for some constant C, which depends on implementation. For example, C is 20. This equation yields a quantizer step size δ_(m) that is inversely proportional to the square root of the number N_(m) of transform coefficients in the subband m. Rather than quantize the log parameter φ*_(m), the encoder can directly quantize b*_(m):γ_(m)=round(b*_(m)√{square root over (N_(m))}/C).

For the encoding (2350) of the quantized estimates, the encoder can use a RLGR coder on the sequence of quantized parameters {γ_(m)}. Alternatively, the encoder uses another type of entropy coding on the sequence of quantized parameters {γ_(m)}.

The lowest and highest subbands can be handled in a different way from other subbands. Typically, the first subband (highest frequency highpass coefficients) has a large number of transform coefficients, but a small parameter b*_(m) and hence small parameter γ_(m). The parameter γ_(m) for the first subband can be quantized and encoded using a 24-bit floating point representation. The last two subbands (lowpass coefficient and lowest frequency highpass coefficient) have one transform coefficient each, which can be large. The coefficients for the last two subbands are rounded and encoded using a fixed 16-bit integer representation for each, and no parameter γ_(m) is coded. The overhead for the additional care taken encoding the lowest and highest subbands is insignificant in a point cloud with hundreds of thousands of occupied points.

If a bucket u includes quantized transform coefficients for multiple subbands, the parameter γ_(u) can be calculated from the bucket estimate b*_(u) for the bucket u and number N_(u) of transform coefficients in the bucket u as:

γ_(u)=round(b* _(u)√{square root over (N _(u))}/C).

The quantized parameters {γ_(u)} are entropy coded (2350) (e.g., using RLGR coding).

Alternatively, for a different type of entropy coding, the encoder calculates the quantized parameters γ_(u) in a manner appropriate for the probability model associated with that type of entropy coding.

With reference to FIG. 23, the encoder inverse quantizes (2342) the quantized estimates. For example, for buckets associated with individual subbands, the encoder reconstructs the parameters {circumflex over (b)}_(m) associated with the respective buckets:

{circumflex over (b)} _(m)=γ_(m) C/√{square root over (N _(m))}.

Or, more generally, for buckets associated with any number of subbands, the encoder reconstructs the parameters {circumflex over (b)}_(u) associated with the respective buckets:

{circumflex over (b)} _(u)=γ_(u) C/√{square root over (N _(u))}.

As explained above, the encoder can handle the parameter for the first subband differently, in which case the parameter for the first subband is reconstructed accordingly. The encoder conveys the set {{circumflex over (b)}_(u)} of reconstructed parameters to the entropy coder.

Finally, the encoder entropy codes (2360) the quantized transform coefficients k_(mn), using the reconstructed parameters {circumflex over (b)}_(u) to guide the adaptive entropy coding. The adaptive entropy coding is, for example, adaptive arithmetic coding with a probability model based on a Laplacian distribution with parameter {circumflex over (b)}_(u), adaptive RLGR coding, or some other type of adaptive entropy coding. As explained above, the entropy coding (2360) can include special treatment of coefficients for the last subbands (DC coefficient and lowest frequency highpass coefficient).

The encoder repeats this process for other attributes of the point cloud data. For example, the encoder encodes luma (Y) sample values for occupied points, then encodes first chroma (U) sample values for the occupied points, and then encodes second chroma (V) sample values for the occupied points. Alternatively, the encoder encodes other and/or additional attributes.

In general, a decoder operates in a reverse manner. The decoder decodes (2352) the quantized estimates. For example, the decoder reverses RLGR coding applied to the sequence of quantized parameters {γ_(u)} (which are {γ_(m)} for buckets u associated with single subbands m). Alternatively, the decoder uses another type of entropy decoding on the sequence of quantized parameters {γ_(u)}.

Next, the decoder inverse quantizes (2344) the estimates. For example, for buckets associated with individual subbands m, the decoder reconstructs the parameters {circumflex over (b)}_(m) associated with the respective buckets:

{circumflex over (b)} _(m)=γ_(m) C/√{square root over (N _(m))}.

Or, more generally, for buckets associated with any number of subbands, the decoder reconstructs the parameters {circumflex over (b)}_(u) associated with the respective buckets:

{circumflex over (b)} _(u)=γ_(u) C/√{square root over (N _(u))}.

As explained above, the encoder can handle the parameter for the first subband differently, in which case the decoder reconstructs the parameter for the first subband accordingly. The decoder conveys the set {{circumflex over (b)}_(u)} of reconstructed parameters to the entropy decoder.

The decoder entropy decodes (2362) the quantized transform coefficients k_(mn), using the reconstructed parameters {circumflex over (b)}_(u) to guide the adaptive entropy decoding. The adaptive entropy decoding is, for example, adaptive arithmetic decoding with a probability model based on a Laplacian distribution with parameter {circumflex over (b)}_(u), adaptive RLGR decoding, or some other type of adaptive entropy decoding. The entropy decoding (2362) can include special treatment of coefficients for the last subbands (DC coefficient and lowest frequency highpass coefficient), when such coefficients are specially coded (see above).

The decoder also receives and decodes the parameters indicating the quantization step size(s) Q used during quantization of the quantized transform coefficients k_(mn). As indicated by the parameters provided by the encoder, the decoder can use a single quantization step size Q for all transform coefficients, or the decoder can vary the quantization step size Q. After reconstructing the quantization step size(s) Q, the decoder inverse quantizes the quantized transform coefficients k_(mn). For example, the decoder uses a uniform scalar quantizer to reconstruct an approximation of the transform coefficients: {circumflex over (f)}_(atti)(m,n)=k_(mn)×Q. Alternatively, the decoder uses some other form of inverse quantization. The decoder performs the inverse RAHT to reconstruct versions of the attributes {att_(i)}. Depending on the level of quantization error introduced (and the extent to which {circumflex over (f)}_(atti)(m,n) differs from the f_(atti)(m,n)), the reconstructed versions of the attributes may differ from the original attributes.

The decoder repeats this process for other attributes of the point cloud data. For example, the decoder decodes luma (Y) sample values for occupied points, then decodes first chroma (U) sample values for the occupied points, and then decodes second chroma (V) sample values for the occupied points. Alternatively, the decoder decodes other and/or additional attributes.

3. Compression with Quantization and Adaptive Entropy Coding of RAHT Coefficients.

FIG. 24 shows an example technique (2400) for adaptive entropy coding of quantized transform coefficients from a RAHT. An encoder such as the encoder (301) of FIG. 3a , encoder (302) of FIG. 3b , or other encoder performs the technique (2400) when coding quantized transform coefficients (e.g., in stage (640) described with reference to FIG. 6).

To start, the encoder splits (2410) quantized transform coefficients between multiple buckets. For example, the quantized transform coefficients are split between the multiple buckets depending on weights associated with the quantized transform coefficients, respectively. The weights can depend at least in part on counts of occupied points that contribute to the quantized transform coefficients. Section V.D describes examples of weights. A different bucket can be associated with each different weight. Or, a given bucket can include quantized transform coefficients having a range of weights (subbands). For example, a first bucket includes quantized transform coefficients having a weight of 2, a second bucket includes quantized transform coefficients having a weight in the range of 3 . . . 4, a third bucket includes quantized transform coefficients having a weight in the range of 5 . . . 7, and so on. Section V.E.2 describes examples of strategies for splitting quantized transform coefficients into buckets. Alternatively, the encoder splits quantized transform coefficients into buckets in some other way. Also, the encoder can split transform coefficients into buckets before quantization of the transform coefficients.

For each of at least some of the multiple buckets, the encoder calculates (2420) an estimate of distribution of values of the quantized transform coefficients in the bucket. In general, the estimate is an estimate of the variance of the values of the quantized transform coefficients in the bucket. Section V.E.2 describes examples of strategies for calculating estimates for buckets. Alternatively, the encoder calculates estimates for the respective buckets in some other way. As noted above, the encoder need not calculate estimates for all buckets. For example, the quantized transform coefficients for some buckets (e.g., DC coefficient, lowest-frequency highpass coefficient) can be handled differently.

The encoder quantizes (2430) the estimates and codes (2440) the quantized estimates. Section V.E.2 describes examples of strategies for quantizing estimates for buckets and coding the quantized estimates. Alternatively, the encoder quantizes and codes estimates for the respective buckets in some other way. The encoder also reconstructs (2450) the estimates. For example, the encoder inverse quantizes quantized versions of the estimates to reconstruct the estimates.

Finally, the encoder entropy codes (2460) the quantized transform coefficients. In doing so, the encoder uses the reconstructed estimates to guide the entropy coding process. For example, the encoder uses the reconstructed estimates to define a probability model for arithmetic coding or RLGR coding of the quantized transform coefficients. Alternatively, the encoder uses another form of adaptive entropy coding.

4. Decompression with Adaptive Entropy Decoding and Inverse Quantization of RAHT Coefficients.

FIG. 25 shows an example technique (2500) for adaptive entropy decoding of quantized transform coefficients from a RAHT. A decoder such as the decoder (401) of FIG. 4a , decoder (402) of FIG. 4b , or other decoder performs the technique (2500) when decoding quantized transform coefficients (e.g., in stage (820) described with reference to FIG. 8).

To start, the decoder decodes (2510) quantized estimates and, for each of at least some of the multiple buckets of the quantized transform coefficients, reconstructs (2520) an estimate of distribution of values of the quantized transform coefficients in the bucket. In general, the estimate is an estimate of the variance of the values of the quantized transform coefficients in the bucket. Section V.E.2 describes examples of strategies for decoding and inverse quantizing estimates for buckets. Alternatively, the decoder decodes and reconstructs estimates for the respective buckets in some other way.

The decoder entropy decodes (2530) the quantized transform coefficients. In doing so, the decoder uses the reconstructed estimates to guide the entropy decoding process. For example, the decoder uses the reconstructed estimates to define a probability model for arithmetic decoding or RLGR decoding of the quantized transform coefficients. Alternatively, the decoder uses another form of adaptive entropy decoding.

F. Results.

For some example implementations, compression of point cloud data using a RAHT was evaluated for test data. For example sequences of dynamic point cloud data, point cloud frames were extracted and compressed. The example sequences and point cloud frames were captured under different conditions and had different resolutions.

Some frames were captured using a real-time, high-resolution sparse voxelization algorithm. Cameras, pointed at a region covering roughly a cubic meter of space, captured video. The captured video was processed on a high-end graphics card using the sparse voxelization algorithm in real time, producing an octtree with the number of levels L=9. This yielded a 512×512×512 voxel space, including up to 512³=134217728 points. For typical examples of point cloud frames, however, the number of occupied points was between 200,000 and 400,000. Other frames were captured using a non-real-time approach.

In the evaluation of the example implementations, geometry data was encoded without loss. For quantization and adaptive arithmetic coding of transform coefficients produced by the RAHT, the quantization parameter Q varied between 10 and 40, and the constant C was 20.

Bit rate was measured in terms of bits per occupied voxel (bpv). Distortion was measured in terms of peak signal-to-noise ratio (PSNR, in dB), comparing the luma components of the original and reconstructed point cloud frames.

The rate-distortion performance for compression with the RAHT in example implementations was comparable to rate-distortion performance for point cloud compression using a graph transform. Compression with the RAHT is much simpler, however, since its complexity is nearly constant and proportional to the number of occupied points. Also, the RAHT can explore deep levels of the octtree to exploit data redundancies, passing through isolated attributes at higher levels for effective consolidation with attributes at much lower levels.

VI. Scalable Compression and Corresponding Decompression

This section describes innovations in scalable compression and decompression of point cloud data. The innovations enable scalable compression/decompression of point cloud data that is computationally efficient and effective in terms of rate-distortion performance. At the same time, using one or more of the innovations, an encoder can create a bitstream that is decodable at a wide range of temporal, spatial, and/or SNR quality levels. For example, an encoder can create a bitstream that is scalable in spatial resolution while also providing spatial location scalability.

In some example implementations, the innovations in scalable compression and decompression of point cloud data involve manipulation of transform coefficients that result from applying a transform to attributes of occupied points of point cloud data. The transform is, for example, a region-adaptive hierarchical transform (“RAHT”) as described in section V. Alternatively, another type of transform produces the transform coefficients for attributes of occupied points of point cloud data. In general, the transform can be an orthonormal transform, or the transform can be a biorthogonal transform.

A. Drawbacks of Non-Scalable Point Cloud Compression and Decompression.

Various aspects of compression using a RAHT and corresponding decompression using an inverse RAHT are described in section V. Typically, the RAHT provides excellent compression performance—it encodes attributes of occupied points of point cloud data with a relatively small number of bits, while introducing little perceptible distortion to the attributes, and its works in a computationally efficient manner. The RAHT has drawbacks in some scenarios, however.

A point cloud may be extremely large. For example, for an augmented or virtual reality application, a point cloud may depict a large room or even a city. Suppose the point cloud is compressed in a non-scalable way. Even if compression is very efficient for purposes of overall storage and transmission, it might not be effective for a particular rendering scenario. Suppose a viewer only wants to decompress and render a small portion of the point cloud (e.g., part of a room, a single building in the city). In order to render that small portion, the bitstream representing the entire point cloud (e.g., entire room, entire city) is decompressed first, resulting in a very large representation of the reconstructed point cloud, from which the small portion is extracted. This can waste a significant amount of resources (processing time, memory, transmission bandwidth), or may require resources that are not available to a receiver.

As another example of a drawback to non-scalable compression and decompression of point cloud data, a viewer might not need high spatial resolution details when a point cloud is rendered. A point cloud may be viewed up close or from far away. Even if high spatial resolution is preferable for up-close viewing, low spatial resolution may suffice when the viewer is far away. If a point cloud is compressed in a non-scalable way, despite efficient compression for purposes of overall storage and transmission, it may be inefficient to render a low-resolution version of the point cloud. In order to render the low-resolution version, the bitstream representing the entire point cloud (at high spatial resolution) is decompressed first, before the low-resolution version is extracted. Again, this can waste a significant amount of resources, considering that only the low-resolution version is ultimately rendered, or may require resources that are not available to a receiver.

As a final example of a drawback to non-scalable compression and decompression of point cloud data, a viewer might not need high quality details when a point cloud is rendered. Even if high quality (low reconstruction error) is preferable for up-close viewing of a static point cloud, lower quality (higher reconstruction error) may suffice when the viewer is far away, or when complex details or motions mask distortion. If a point cloud is compressed in a non-scalable way, it may be inefficient to render a low-quality version of the point cloud. In order to render the low-quality version, the bitstream representing the entire point cloud (at high quality) is decompressed first, before the low-quality version is extracted. Again, this can waste a significant amount of resources, considering that only the low-quality version is ultimately rendered, or may require resources that are not available to a receiver.

These drawbacks can be exacerbated in multi-party communication scenarios in which different receivers of encoded data for a point cloud have different computational capacities (in terms of available processing resources, available memory, etc.), different types of network connections, and/or different quality requirements. For example, some receivers may seek point cloud data encoded at high quality and bitrate, while other receivers seek point cloud data encoded at lower quality and bitrate. Different viewers may have different preferences with respect to how bits are allocated to improve quality (e.g., whether to improve spatial resolution, temporal resolution, or SNR resolution). Also, different viewers may want different views of the point cloud, such that bitrate is wasted for any given viewer on features of little interest to that viewer.

Although some approaches to rendering in computer graphics use progressive approaches (e.g., mip maps, hierarchical representations of texture maps) in order to render textures at different resolutions, such representations are not used for compression purposes. A resolution-scalable representation of points clouds was previously proposed. Its compression was inefficient, however, as it was not based on an orthonormal transform, and spatial location scalability and SNR scalability were not addressed at all.

B. Examples of Partitions for Scalable Point Cloud Compression and Corresponding Decompression.

According to one or more innovations described herein, a bitstream of encoded data for a point cloud can be separated into multiple partitions. For example, an encoder can create a bitstream that is decodable at a wide range of temporal, spatial, and/or SNR quality levels. A decoder can select a subset of the partitions, so that it decodes only details that will be rendered to a viewer, potentially saving computing resources such as processing cycles, memory, and transmission bandwidth.

In some example implementations, transform coefficients that result from a transform (such as an RAHT) are separated into partitions. Within a partition, the transform coefficients can then be coded, for example, as described in section V. In other example implementations, point cloud data is separated into partitions (e.g., frames in temporal layers, different regions of a frame) before compression that uses a transform such as an RAHT. Thus, the innovations described herein support compression and decompression that provides temporal resolution scalability, spatial location scalability (random access scalability), spatial resolution scalability, and/or SNR scalability.

1. Examples of Partitions for Temporal Resolution Scalability.

FIG. 26 shows an example (2600) of partitioning of a time series of point cloud frames for temporal resolution scalability. A time series (2610) of point cloud frames is received at, for example, a frame rate of 30 frames per second, 15 frames per second, or some other number of frames per second. For purposes of temporal resolution scalability, the point cloud frames are partitioned by separating point cloud data for the respective frames, and organizing the point cloud frames in multiple temporal layers.

FIG. 26 shows separation of the time series (2610) of point cloud frames into three temporal layers (2620, 2630, 2640). Alternatively, a time series of point cloud frames can be separated into more temporal layers or fewer temporal layers.

FIG. 26 shows separation of the time series (2610) of point cloud frames into temporal layers (2620, 2630, 2640) whose frame rates change by dyadic factors (1×, 2×, 4×). Alternatively, temporal layers reflect changes in frame rate by other factors.

In the example (2600) of FIG. 26, point cloud data is partitioned before compression. Alternatively, a time series of point cloud frames can be partitioned after compression (as encoded data for individual intra-frame-compressed frames) or during compression (as transform coefficients for individual intra-frame compressed frames). In this case, transform coefficients (or encoded data) for different frames are assigned to different partitions. Regardless, point cloud data for a frame can be compressed using intra-frame compression that includes applying a RAHT, quantization of transform coefficients, and entropy coding of the quantized transform coefficients as described in section V.

When all point cloud frames are encoded with intra-frame compression, separating the frames into temporal layers does not cause problems for reference frame dependencies. If any of the point cloud frames is encoded with inter-frame compression, however, an encoder manages reference frame dependencies during compression such that a given point cloud frame references a reconstructed version of a previously coded/decoded frame (reference frame) in the same temporal layer or a lower temporal layer. For example, when point cloud frame 6 (in temporal layer 1) is compressed, point cloud frame 2 (in temporal layer 1) and point cloud frame 4 (in temporal layer 0) may be available as reference frames, but point cloud frame 5 (in temporal layer 2) is not available as a reference frame.

When temporal scalability is used in conjunction with another form of scalability, managing reference frame dependencies can become more complicated. For example, according to rules that apply during compression and decompression, for a given partition of a current point cloud frame, the encoder constrains motion compensation to use reconstructed content associated with a corresponding partition of a reference frame, which is assumed to be available during decoding.

Temporal resolution scalability enables selective reconstruction of point cloud frames at the lowest temporal resolution (layer 0), an intermediate temporal resolution (in FIG. 26, layer 0+layer 1), or the highest temporal resolution (in FIG. 26, layer 0+layer 1+layer 2).

2. Examples of Partitions for Spatial Location Scalability.

FIGS. 27a-27d show examples (2710, 2720, 2730, 2740) of partitioning of point cloud data for spatial location scalability. For spatial location scalability, point cloud data such as a point cloud frame is separated into partitions associated with different spatial regions.

In the example (2710) of FIG. 27a , a point cloud frame is separated into partitions of uniform size for spatial location scalability. In particular, a point cloud frame is split into 8 equal-sized partitions. Alternatively, a point cloud frame can be split into more or fewer partitions having uniform size.

In the example (2720) of FIG. 27b , a point cloud frame is separated into partitions of non-uniform size for spatial location scalability. One of the partitions is the back half of the point cloud frame, and another partition is the left part of the front half of the point cloud frame. The right part of the front half of the point cloud frame is separated into more fine-grained spatial regions. In this way, objects of interest can be isolated in different partitions. Alternatively, a point cloud frame can be split into more or fewer partitions having non-uniform size.

In the examples (2710, 2720) of FIGS. 27a and 27b , point cloud data is partitioned before compression. Point cloud data in different partitions is encoded separately (e.g., using a RAHT, quantization of transform coefficients, and entropy coding of the quantized transform coefficients for a single partition, with operations as described in section V for point cloud data in that partition).

Alternatively, point cloud data can be partitioned during compression, as transform coefficients. In this case, transform coefficients for different regions are assigned to different partitions. The transform coefficients can be represented as a tree. (Specifically, FIGS. 27c and 27d show an octtree representation, but a binary tree representation as shown in FIGS. 16 and 17 is used in some example implementations.) The partitioning can happen before or after quantization of the transform coefficients. Eventually, quantized transform coefficients within a single partition are entropy coded, e.g., using entropy coding operations as described in section V for the quantized transform coefficients in that partition.

FIG. 27c shows an example (2730) in which transform coefficients for point cloud data are separated into three partitions (2731, 2732, 2733). Transform coefficients near the root of the tree are assigned to a common partition (2731), which includes very low-resolution details for all of the regions of the point cloud data. For example, the common partition includes the lowest spatial resolution transform coefficients and transform coefficients for zero or more other spatial resolution layers. The remaining transform coefficients of the “pruned” sub-trees are assigned to one of the other partitions (2732, 2733), depending on the spatial region associated with the transform coefficients. The transform coefficients in the respective partitions (2731, 2732, 2733) are entropy coded separately.

FIG. 27d shows an example (2740) in which transform coefficients for point cloud data are separated into four partitions (2741, 2742, 2743, 2744). Transform coefficients near the root of the tree are assigned to the common partition (2741), and the remaining transform coefficients of the “pruned” sub-trees are assigned to one of the other partitions (2742, 2743, 2744), depending on the spatial region associated with the transform coefficients. The partitions for the sub-trees have non-uniform sizes. The transform coefficients in the respective partitions (2741, 2742, 2743, 2744) are entropy coded separately.

Spatial location scalability enables selective reconstruction of point cloud data for an individual spatial region or arbitrary combination of spatial regions. For example, a decoder decodes transform coefficients for a common partition, if any, and then decodes transform coefficients for one or more other partitions. The decoder can combine the transform coefficients into a single representation for inverse transform operations (e.g., inverse RAHT operations).

In the examples of FIGS. 27a-27d , partitions follow straight line boundaries. Alternatively, partitions are associated with objects having arbitrary shape in point cloud data. Object-based scalability can be considered a special case of spatial location scalability.

3. Examples of Partitions for Spatial Resolution Scalability.

FIGS. 28a and 28b shows examples (2810, 2820) of partitioning of point cloud data for spatial resolution scalability. For spatial resolution scalability, point cloud data such as a point cloud frame, or region thereof, is separated into partitions associated with different spatial resolutions.

In the examples (2810, 2820) of FIGS. 28a and 28b , point cloud data is partitioned during compression, as transform coefficients. Transform coefficients at different levels of the hierarchy of point cloud data are assigned to different partitions. The transform coefficients can be represented as a tree. (Specifically, FIGS. 28a and 28b show an octtree representation, but a binary tree representation as shown in FIGS. 16 and 17 is used in some example implementations.) The partitioning can happen before or after quantization of the transform coefficients. Eventually, quantized transform coefficients within a single partition are entropy coded, e.g., using entropy coding operations as described in section V for the quantized transform coefficients in that partition.

FIG. 28a shows an example (2810) in which transform coefficients for point cloud data are separated into six partitions (2811, 2812, 2813, 2814, 2815, 2816). Transform coefficients at level 1 of a hierarchy of point cloud data are assigned to the first partition (2811). Transform coefficients at level 2 are assigned to the second partition (2812), and so on. In FIG. 28a , the partitions are associated with uniform increments of change in spatial resolution. Spatial resolution doubles from partition to partition. The transform coefficients in the respective partitions (2811 . . . 2814) are entropy coded separately.

In the example (2820) of FIG. 28b , transform coefficients for point cloud data are separated into four partitions (2821, 2822, 2823, 2824), which are associated with non-uniform increments of change in spatial resolution. Transform coefficients at levels 1 and 2 are assigned to the first partition (2821), and transform coefficients at levels 3 and 4 are assigned to the second partition (2822). The third and fourth partitions (2823, 2824) each include transform coefficients from a single level of the hierarchy of point cloud data. The transform coefficients in the respective partitions (2821, 2822, 2823, 2824) are entropy coded separately.

Spatial resolution scalability enables selective reconstruction of point cloud data at the lowest spatial resolution, any intermediate spatial resolution represented by a partition, or the highest spatial resolution. For example, a decoder decodes transform coefficients of partitions for successively higher spatial resolutions, up to the target spatial resolution. The decoder can combine the transform coefficients into a single representation for inverse transform operations (e.g., inverse RAHT operations).

4. Examples of Partitions for SNR Scalability.

For SNR scalability, point cloud data such as a point cloud frame, or region thereof, is separated into partitions associated with different quality levels. Such point cloud data is partitioned during compression, as transform coefficients. Segments of transform coefficients associated with different quality levels are assigned to different partitions. For example, suppose transform coefficients have 16 bits. Bits 0 . . . 3 (most significant bits) are assigned to a first partition, bits 4 . . . 7 are assigned to a second partition, bits 8 . . . 11 are assigned to a third partition, and bits 12 . . . 15 (least significant bits) are assigned to a fourth partition. Alternatively, coefficients segments can have more bits or fewer bits per partition.

In some example implementations, the partitions for SNR scalability are associated with bitplanes. The bitplanes can be separately encoded.

SNR scalability enables selective reconstruction of point cloud data at the lowest quality level, any intermediate quality level represented by a partition, or the highest quality level. For example, a decoder decodes values of partitions for successively higher quality levels, up to the target quality level. The decoder can combine the coefficient segments for transform coefficients into a single representation for inverse transform operations (e.g., inverse RAHT operations).

5. Examples of Partitions for Combinations of Different Types of Scalability.

Different types of scalability can be used together. In this case, in general, point cloud data within a partition for a given type of scalability is further separated into multiple partitions for another type of scalability.

FIG. 29 shows an example (2900) of partitioning of point cloud data for a combination of spatial location scalability and spatial resolution scalability. In FIG. 29, after point cloud data is assigned to a common partition (2910), point cloud data such as a point cloud frame is separated into two partitions (2920, 2930) for spatial location scalability. Point cloud data in the second partition (2930) is further separated into multiple partitions for spatial resolution scalability. This enables selective reconstruction of point cloud data for either of the two spatial regions (associated with partitions (2920) and (2930), respectively). For the spatial region associated with partition (2930), point cloud data can be selectively reconstructed at the lowest spatial resolution, any intermediate spatial resolution represented by a partition, or the highest spatial resolution.

C. Examples of Encoders for Scalable Point Cloud Compression.

FIGS. 30 and 31 a-31 d show example encoders in conjunction with which scalable compression of point cloud data can be implemented. The example encoders reuse many components explained with reference to FIGS. 3a and 3b . Unless otherwise specified, the components shown in FIGS. 30 and 31 a-31 d operate as explained with reference to FIGS. 3a and 3 b.

FIG. 30 shows an encoder system that includes an input buffer (310), partition separator (3010), one or more encoders (3030 . . . 303 n), a partition multiplexer (3090), and an output buffer (392). The partition separator (3010) separates point cloud data into point cloud data (3020 . . . 302 n) for multiple partitions. The partitions enable, for example, temporal resolution scalability or spatial location scalability.

The encoder system can include a single encoder (3030), which encodes point cloud data (3020 . . . 302 n) for all of the partitions, or multiple encoders (3030 . . . 303 n), which collectively encode the point cloud data (3020 . . . 302 n) for the partitions. Each of the encoders (3030 . . . 303 n) can be an encoder (301) as shown in FIG. 3a , an encoder (302) as shown in FIG. 3b , or other encoder. The encoders (3030 . . . 303 n) produce encoded data (3040 . . . 304 n) for the multiple partitions.

The partition multiplexer (3090) receives the encoded data (3040 . . . 304 n) for the multiple partitions and assembles the encoded data into a scalable bitstream. The partition multiplexer (3090) outputs the encoded data in the scalable bitstream, which is buffered and output like the encoded data (395) of FIGS. 3a and 3 b.

FIG. 31a shows an encoder (3101) based on the encoder (301) of FIG. 3a . The encoder (3101) includes a partition separator (3180) in addition to the components of the encoder (301) of FIG. 3a . The partition separator (3180) separates transform coefficients into multiple partitions. The partitions enable, for example, temporal resolution scalability, spatial location scalability, spatial resolution scalability, and/or SNR scalability. When separating transform coefficients into partitions, the partition separator (3180) can use the geometry data (312) to determine the levels of hierarchy for occupied points or spatial locations of occupied points. The partition separator (3180) supplies the partitioned transform coefficients to the quantizer (350) for subsequent quantization, and the quantized transform coefficients for the respective partitions are separately entropy coded by the entropy coder(s) (380).

The multiplexer (3190) receives the encoded data for the multiple partitions and assembles the encoded data into a scalable bitstream. The multiplexer (3190) outputs the encoded data, which is buffered and output like the encoded data (395) of FIGS. 3a and 3 b.

FIG. 31b shows another encoder (3102) based on the encoder (301) of FIG. 3a . The encoder (3102) of FIG. 31a is the same as the encoder (3101) of FIG. 31a , except the ordering of the quantizer (350) and partition separator (3180) is switched. In FIG. 31b , the partition separator (3180) separates quantized transform coefficients into multiple partitions and provides the partitioned, quantized transform coefficients to the entropy coder(s) (380).

FIG. 31c shows an encoder (3103) based on the encoder (302) of FIG. 3b . The encoder (3103) includes a partition separator (3180), which is configured as explained with reference to FIG. 31a . The encoder (3103) also includes a partition combiner (3185). The partition combiner (3185) combines reconstructed transform coefficients from multiple partitions (received from the inverse quantizer (355)) into a single representation for subsequent processing by the inverse region-adaptive hierarchical transformer (345). When combining transform coefficients from different partitions, the partition combiner (3185) can use the geometry data (312) to determine the levels of hierarchy for occupied points or spatial locations of occupied points.

FIG. 31d shows another encoder (3104) based on the encoder (302) of FIG. 3b . The encoder (3104) includes a partition separator (3180), which is configured as explained with reference to FIG. 31b . The encoder (3104) does not include a partition combiner, since the partition separator (3180) is after the quantizer (350).

D. Examples of Decoders for Scalable Point Cloud Decompression.

FIGS. 32 and 33 a-33 d show example decoders in conjunction with which scalable decompression of point cloud data can be implemented. The example decoders reuse many components explained with reference to FIGS. 4a and 4b . Unless otherwise specified, the components shown in FIGS. 32 and 33 a-33 d operate as explained with reference to FIGS. 4a and 4 b.

FIG. 32 shows a decoder system that includes an input buffer (492), partition demultiplexer (3290), one or more decoders (3230 . . . 323 n), a partition combiner (3210), and an output buffer (410). The decoder system processes encoded data for multiple partitions, which enable, for example, temporal resolution scalability or spatial location scalability.

The partition demultiplexer (3290) receives encoded data in a scalable bitstream and separates encoded data (3240 . . . 324 n) for the multiple partitions from the scalable bitstream. The partition demultiplexer (3290) outputs the encoded data (3240 . . . 324 n) for the multiple partitions to the decoders (3230 . . . 323 n).

The decoder system can include a single decoder (3230), which decodes encoded data (3240 . . . 324 n) for all of the partitions, or multiple decoders (3230 . . . 323 n), which collectively decode encoded data (3240 . . . 324 n) for the partitions. Each of the decoders (3230 . . . 323 n) can be a decoder (401) as shown in FIG. 4a , a decoder (402) as shown in FIG. 4b , or other decoder. The decoders (3230 . . . 323 n) produce reconstructed point cloud data (3220 . . . 322 n) for the multiple partitions. The partition combiner (3210) combines point cloud data (3020 . . . 302 n) from the multiple partitions.

FIG. 33a shows a decoder (3301) based on the decoder (401) of FIG. 4a . In general, the decoder (3301) includes the components of the decoder (401) of FIG. 4a , but the demultiplexer (3390) receives encoded data for multiple partitions in a scalable bitstream (e.g., output by the encoder (3101) of FIG. 31a ). The partitions enable, for example, temporal resolution scalability, spatial location scalability, spatial resolution scalability, and/or SNR scalability. The demultiplexer (3390) separates the encoded data for the respective partitions, and supplies the encoded data to the entropy decoder(s) (480) for entropy decoding.

The decoder (3301) also includes a partition combiner (3380). The partition combiner (3380) receives reconstructed transform coefficients from the inverse quantizer (455) and combines transform coefficients from multiple partitions into a single representation. When combining transform coefficients from partitions into the single representation, the partition combiner (3380) can use the geometry data (312) to determine the levels of hierarchy for occupied points or spatial locations of occupied points. The partition combiner (3380) supplies the combined transform coefficients to the inverse region-adaptive hierarchical transformer (445).

FIG. 33b shows another decoder (3302) based on the decoder (401) of FIG. 4a , which can decode encoded data produced by the encoder (3102) of FIG. 31b . The decoder (3302) of FIG. 33b is the same as the decoder (3301) of FIG. 33a , except the ordering of the inverse quantizer (455) and partition combiner (3380) is switched. In FIG. 33b , the partition combiner (3380) combines quantized transform coefficients from multiple partitions into a single representation, and provides the combined, quantized transform coefficients to the inverse quantizer (455).

FIG. 33c shows a decoder (3303) based on the decoder (402) of FIG. 4b . The decoder (3303) includes a partition combiner (3385), which is configured as explained with reference to the partition combiner (3380) of FIG. 33a . The partition combiner (3385) combines reconstructed transform coefficients from multiple partitions (received from the inverse quantizer (455)) into a single representation for subsequent processing by the inverse region-adaptive hierarchical transformer (445). When combining transform coefficients from different partitions, the partition combiner (3385) can use the geometry data (312) to determine the levels of hierarchy for occupied points or spatial locations of occupied points.

FIG. 33d shows another decoder (3304) based on the decoder (402) of FIG. 4b . The decoder (3304) includes a partition combiner (3385), which is configured as explained with reference to the partition combiner (3380) of FIG. 33 b.

E. Examples of Scalable Point Cloud Compression.

FIG. 34 shows a generalized technique (3400) for scalable encoding of point cloud data, including applying a transform such as an RAHT to attributes of occupied points. An encoder such as the encoder system of FIG. 30, encoder (3101) of FIG. 31a , encoder (3102) of FIG. 31b , encoder (3103) of FIG. 31c , encoder (3104) of FIG. 31d , or other encoder performs the technique (3400).

To start, the encoder receives (3410) point cloud data comprising multiple points in 3D space. Each of the multiple points is associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point.

The encoder scalably encodes (3420) the point cloud data with multiple partitions. This produces encoded data that is separable along the multiple partitions for scalable decoding. As part of the scalable encoding (3420), the encoder applies a transform to attributes of occupied points among the multiple points, thereby producing transform coefficients. For example, the transform is a RAHT. Alternatively, the transform is some other type of orthonormal transform or biorthogonal transform. In general, entropy coding of values for separate partitions is separate, so that dependencies between different partitions (which would preclude selective reconstruction) are avoided. Different quantization step sizes can be used for different partitions.

The multiple partitions can enable various types of scalability.

For example, for spatial location scalability (spatial random access scalability), the encoder separates a set of values into multiple partitions, where each of the multiple partitions is associated with a different region of a frame of the point cloud data. The multiple partitions can be uniform in size or non-uniform in size. The set of values that is partitioned can be a set of the transform coefficients produced by the transform, quantized versions of the set of transform coefficients produced by the transform, or a set of the multiple points of the point cloud data. Section VI.B.2 describes examples of spatial location scalability. When the multiple partitions are associated with different objects, respectively, in the frame, the encoder can segment the frame into the different objects.

For each of the multiple partitions, the encoder separately encodes the values of the partition, such that encoded data for the set of the values is separable along the multiple partitions for spatial location scalability. For example, for the transform coefficients in a given partition, the encoder entropy codes quantized transform coefficients using an approach described in section V or another approach. Or, when a partition includes a set of multiple points of point cloud data, the encoder separately encodes attributes of the points using an approach described in section V (applying a RAHT to attributes of occupied points among the multiple points of the set, etc.) or another approach.

As another example, for spatial resolution scalability, the encoder separates a set of values into multiple partitions, where each of the multiple partitions is associated with a different region of a frame of the point cloud data. The multiple partitions can be uniform in terms of incremental change to spatial resolution or non-uniform in terms of incremental change to spatial resolution. The set of values that is partitioned can be a set of the transform coefficients produced by the transform, or quantized versions of the set of transform coefficients produced by the transform. Section VI.B.3 describes examples of spatial resolution scalability.

For each of the multiple partitions, the encoder separately encodes the values of the partition, such that encoded data for the set of the values is separable along the multiple partitions for spatial resolution scalability. For example, for the transform coefficients in a given partition, the encoder entropy codes quantized transform coefficients using an approach described in section V or another approach.

As another example, for SNR scalability, the encoder separates a set of values into multiple partitions, where each of the multiple partitions is associated with a different reconstruction quality level of the point cloud data. The multiple partitions can be uniform in terms of incremental change to reconstruction quality level or non-uniform in terms of incremental change to reconstruction quality level. The set of values that is partitioned can be a set of the transform coefficients produced by the transform, or quantized versions of the set of transform coefficients produced by the transform. In some example implementations, the multiple partitions are bitplanes. In this case, when it separates transform coefficients into the multiple partitions, the encoder splits the transform coefficients into multiple bitplanes associated with different coefficient segments. Section VI.B.4 describes examples of SNR scalability.

For each of the multiple partitions, the encoder separately encodes the values (e.g., coefficient segments) of the partition, such that encoded data for the set of the values is separable along the multiple partitions for SNR scalability. For example, for the transform coefficients in a given partition, the encoder entropy codes the values.

As another example, for temporal resolution scalability, the encoder separates a set of values into multiple partitions. The multiple partitions can be uniform in terms of incremental change to temporal resolution or non-uniform in terms of incremental change to temporal resolution. The set of values that is partitioned can be a set of the transform coefficients produced by the transform, quantized versions of the set of transform coefficients produced by the transform, or a set of the multiple points of the point cloud data. In any case, each of the multiple partitions is associated with a different frame of the point cloud data in one of multiple temporal layers. Section VI.B.1 describes examples of temporal resolution scalability.

For each of the multiple partitions, the encoder separately encodes the values of the partition, such that encoded data for the set of the values is separable along the multiple partitions for temporal resolution scalability. For example, for the transform coefficients in a given partition, the encoder entropy codes quantized transform coefficients using an approach described in section V or another approach. Or, when a partition includes a set of multiple points of point cloud data, the encoder separately encodes attributes of the points using an approach described in section V (applying a RAHT to attributes of occupied points among the multiple points of the set, etc.) or another approach. For inter-frame compression, when performing motion compensation for at least some blocks of a frame relative to a reference frame, reference frame dependencies are constrained to be within the same layer or lower layer among the multiple temporal layers.

Different types of scalability can be used in combination. For example, the encoder separates a set of values into the multiple partitions, which include a common partition and multiple enhancement partitions. Each of the multiple enhancement partitions is associated with a different region of a frame of the point cloud data. For each of the multiple partitions, the encoder separately encodes the values of the partition. FIGS. 27c and 27d show examples of this configuration. Or, as another example, the multiple partitions include multiple first partitions and multiple second partitions. The encoder separates, into the multiple first partitions, a set of values. The multiple first partitions facilitate one of temporal scalability, spatial location scalability, spatial resolution scalability, and SNR scalability. Then, the encoder separates, into the multiple second partitions, one of the multiple first partitions. The multiple second partitions facilitate a different one of spatial random access scalability, spatial resolution scalability, and SNR scalability. FIG. 29 shows an example of this configuration.

Returning to FIG. 34, the encoder stores (3430), as part of a bitstream for output, the encoded data that is separable along the multiple partitions. The encoder checks (3440) whether to continue for the next batch of point cloud data. If so, the encoder receives (3410) the next batch of point cloud data. In this way, the encoder can encode point cloud frames on a frame-by-frame basis or encode point cloud data on some other basis.

F. Examples of Scalable Point Cloud Decompression.

FIG. 35 shows a generalized technique (3500) for scalable decoding of point cloud data, including applying an inverse transform such as an inverse RAHT to transform coefficients for attributes of occupied points. A decoder such as the decoder system of FIG. 32, decoder (3301) of FIG. 33a , decoder (3302) of FIG. 33b , decoder (3303) of FIG. 33c , decoder (3304) of FIG. 33d , or other decoder performs the technique (3500).

To start, the decoder receives (3510), as part of a bitstream, encoded data that is separable along multiple partitions. The decoder scalably decodes (3520) at least some of the multiple partitions of the encoded data to reconstruct point cloud data. The point cloud data includes multiple points in 3D space. Each of the multiple points is associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point. As part of the scalable decoding (3520), the decoder applies an inverse transform to transform coefficients for attributes of occupied points among the multiple points. For example, the inverse transform is an inverse RAHT. Alternatively, the inverse transform is some other type of inverse orthonormal transform or inverse biorthogonal transform. The multiple partitions can enable various types of scalability.

For example, for spatial location scalability (spatial random access scalability), the encoded data includes encoded data for a set of values that is separable along the multiple partitions for spatial location scalability. Each of the multiple partitions is associated with a different region of a frame of the point cloud data. The multiple partitions can be uniform in size or non-uniform in size. The set of values that is partitioned can be a set of the transform coefficients produced by the transform, quantized versions of the set of transform coefficients produced by the transform, or a set of the multiple points of the point cloud data. Section VI.B.2 describes examples of spatial location scalability.

For each of two or more of the multiple partitions, the decoder separately decodes the values of the partition. The decoder can selectively decode all of the multiple partitions for reconstruction of all regions or objects, or a subset of the multiple partitions for reconstruction of only some of the regions or objects. The decoder aggregates the decoded values of the respective partitions. For example, for the transform coefficients in a given partition, the decoder entropy decodes quantized transform coefficients using an approach described in section V or another approach. Then, the decoder combines the reconstructed transform coefficients into a single representation for application of the inverse transform. Or, when a partition includes a set of multiple points of point cloud data, the decoder separately decodes attributes of the points using an approach described in section V (applying an inverse RAHT to transform coefficients for attributes of occupied points among the multiple points of the set, etc.) or another approach. Then, the decoder combines the reconstructed points into a single point cloud for rendering. When the multiple partitions are associated with different objects, respectively, in a frame, the decoder can composite the different objects into the frame.

As another example, for spatial resolution scalability, the encoded data includes encoded data for a set of transform coefficients that is separable along the multiple partitions for spatial resolution scalability. Each of the multiple partitions is associated with a different spatial resolution of the point cloud data. The multiple partitions can be uniform in terms of incremental change to spatial resolution or non-uniform in terms of incremental change to spatial resolution. The set of values that is partitioned can be a set of the transform coefficients produced by the transform, or quantized versions of the set of transform coefficients produced by the transform. Section VI.B.3 describes examples of spatial resolution scalability.

For each of two or more of the multiple partitions, the decoder separately decodes the values of the partition. The decoder can selectively decode all of the multiple partitions for reconstruction at a highest spatial resolution or a subset of the multiple partitions for reconstruction at a lower spatial resolution. The decoder aggregates the decoded values of the respective partitions. For example, for the transform coefficients in a given partition, the decoder entropy decodes values. Then, the decoder combines the reconstructed transform coefficients into a single representation for application of the inverse transform.

As another example, for SNR scalability, the encoded data includes encoded data for a set of transform coefficients that is separable along the multiple partitions for SNR scalability. Each of the multiple partitions is associated with a different reconstruction quality level. The multiple partitions can be uniform in terms of incremental change to quality level or non-uniform in terms of incremental change to quality level. The set of values that is partitioned can be a set of the transform coefficients produced by the transform, or quantized versions of the set of transform coefficients produced by the transform. Section VI.B.4 describes examples of SNR scalability.

For each of two or more of the multiple partitions, the decoder separately decodes the values (such as coefficient segments of transform coefficients) of the partition. The decoder can selectively decode all of the multiple partitions for reconstruction at a highest quality level or a subset of the multiple partitions for reconstruction at a lower quality level. The decoder aggregates the decoded values of the respective partitions. For example, for the transform coefficients in a given partition, the decoder entropy decodes values such as coefficient segments from bitplanes. Then, the decoder combines the reconstructed values into a single representation for application of the inverse transform. For example, for a given transform coefficient, the decoder combines different decoded coefficient segments from the multiple bitplanes, respectively.

As another example, for temporal resolution scalability, the encoded data includes encoded data for a set of values that is separable along the multiple partitions for temporal resolution scalability. Each of the multiple partitions is associated with a different frame of the point cloud data in one of multiple temporal layers. The multiple partitions can be uniform in terms of incremental change to temporal resolution or non-uniform in terms of incremental change to temporal resolution. The set of values that is partitioned can be a set of the transform coefficients produced by the transform, quantized versions of the set of transform coefficients produced by the transform, or a set of the multiple points of the point cloud data. Section VI.B.1 describes examples of temporal resolution scalability.

For each of two or more of the multiple partitions, the decoder separately decodes the values of the partition. The decoder can selectively decode all of the multiple partitions for reconstruction at a highest temporal resolution or a subset of the multiple partitions for reconstruction at a lower temporal resolution. The decoder aggregates the decoded values of the respective partitions. For example, when a partition includes a set of multiple points of point cloud data, the decoder separately decodes attributes of the points using an approach described in section V (applying an inverse RAHT to transform coefficients for attributes of occupied points among the multiple points of the set, etc.) or another approach. Then, the decoder combines the reconstructed points into a single point cloud for rendering. For inter-frame decompression, when performing motion compensation for at least some blocks of a frame relative to a reference frame, reference frame dependencies are constrained to be within the same layer or lower layer among the multiple temporal layers.

Different types of scalability can be used in combination, as explained above.

Returning to FIG. 35, the decoder stores (3530) the reconstructed point cloud data. The decoder checks (3540) whether to continue for the next batch of point cloud data. If so, the decoder receives (3510) the encoded data for the next batch of point cloud data. In this way, the decoder can decode point cloud frames on a frame-by-frame basis or decode point cloud data on some other basis.

G. Examples of Bitstream Manipulation.

FIG. 36 shows a generalized technique (3600) for manipulating a bitstream that is separable along multiple partitions. A computer system that includes a decoder can perform the technique (3600). Or, some other computer system can perform the technique (3600), and forward results of the technique (3600) to a decoder.

To start, the system receives (3610), as part of a bitstream, encoded data that is separable along multiple partitions. The system selects (3620) one or more of the multiple partitions. The system reorganizes (3630) the encoded data to include the selected one or more partitions. For example, the system drops a non-selected partition among the multiple partitions, moves one of the selected one or more partitions, and/or combines two or more of the selected one or more partitions.

The reorganized encoded data is decodable by decoding operations to reconstruct point cloud data, which includes multiple points in 3D space. Each of the multiple points is associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point. The decoding operations include applying an inverse transform (such as an inverse RAHT) to transform coefficients for attributes of occupied points among the multiple points. The inverse transform can be an inverse orthonormal transform (such as an inverse RAHT) or inverse biorthogonal transform. The reorganized data can be output as part of a bitstream, which may be a scalable bitstream or non-scalable bitstream.

Different embodiments may include one or more of the inventive features shown in the following table of features.

# Feature A. Scalable Compression of Point Cloud Data Using an Inverse RAHT A1 In a computer system, a method comprising: receiving point cloud data comprising multiple points in three-dimensional (“3D”) space, each of the multiple points being associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point; scalably encoding the point cloud data with multiple partitions, thereby producing encoded data that is separable along the multiple partitions for scalable decoding, wherein the scalably encoding includes: applying a transform to attributes of occupied points among the multiple points, thereby producing transform coefficients, wherein the transform is an orthonormal transform or a biorthogonal transform; and storing, as part of a bitstream for output, the encoded data that is separable along the multiple partitions. A2 One or more computer-readable media storing computer-executable instructions for causing a computer system, when programmed thereby, to perform operations comprising: receiving point cloud data comprising multiple points in three-dimensional (“3D”) space, each of the multiple points being associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point; scalably encoding the point cloud data with multiple partitions, thereby producing encoded data that is separable along the multiple partitions for scalable decoding, wherein the scalably encoding includes: applying a transform to attributes of occupied points among the multiple points, thereby producing transform coefficients, wherein the transform is an orthonormal transform or a biorthogonal transform; and storing, as part of a bitstream for output, the encoded data that is separable along the multiple partitions. A3 A computer system comprising: an input buffer configured to receive point cloud data comprising multiple points in three-dimensional (“3D”) space, each of the multiple points being associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point; an encoder configured to scalably encode the point cloud data with multiple partitions, thereby producing encoded data that is separable along the multiple partitions for scalable decoding, by performing operations that include: applying a transform to attributes of occupied points among the multiple points, thereby producing transform coefficients, wherein the transform is an orthonormal transform or a biorthogonal transform; and an output buffer configured to store, as part of a bitstream for output, the encoded data that is separable along the multiple partitions. A4 The feature of A1, A2, or A3, wherein the transform is a region-adaptive hierarchical transform. A5 The feature of A1, A2, or A3, wherein, to scalably encode the point cloud data, the operations further include or the scalably encoding further includes: separating a set of values into the multiple partitions, each of the multiple partitions being associated with a different region of a frame of the point cloud data; and for each of the multiple partitions, separately encoding the values of the partition, such that encoded data for the set of the values is separable along the multiple partitions for spatial random access scalability. A6 The feature of A5, wherein the set of values is: a set of the transform coefficients produced by the transform; quantized versions of the set of transform coefficients produced by the transform; or a set of the multiple points of the point cloud data, in which case the separately encoding includes the applying the transform to attributes of occupied points among the multiple points of the set. A7 The feature of A5, wherein the multiple partitions are uniform in size. A8 The feature of A5, wherein the multiple partitions are non-uniform in size. A9 The feature of A5, wherein the multiple partitions are associated with different objects, respectively, in the frame, and wherein, to scalably encode the point cloud data, the operations further include or the scalably encoding further includes: segmenting the frame into the different objects. A10 The feature of A1, A2, or A3, wherein, to scalably encode the point cloud data, the operations further include or the scalably encoding further includes: separating a set of values into the multiple partitions, each of the multiple partitions being associated with a different spatial resolution of the point cloud data; and for each of the multiple partitions, separately encoding the values of the partition, such that encoded data for the set of the values is separable along the multiple partitions for spatial resolution scalability. A11 The feature of A10, wherein the set of values is: a set of the transform coefficients produced by the transform; or quantized versions of the set of transform coefficients produced by the transform. A12 The feature of A10, wherein the multiple partitions are uniform in terms of incremental change to spatial resolution. A13 The feature of A10, wherein the multiple partitions are non-uniform in terms of incremental change to spatial resolution. A14 The feature of A1, A2, or A3, wherein, to scalably encode the point cloud data, the operations further include or the scalably encoding further includes: quantizing the transform coefficients produced by the transform; separating a set of the transform coefficients into the multiple partitions, each of the multiple partitions being associated with a different reconstruction quality level; and for each of the multiple partitions, separately encoding coefficient segments of the transform coefficients for the partition, such that encoded data for the set of the transform coefficients is separable along the multiple partitions for signal-to-noise ratio (“SNR”) scalability. A15 The feature of A14, wherein the multiple partitions are uniform in terms of incremental change to reconstruction quality level. A16 The feature of A14, wherein the multiple partitions are non-uniform in terms of incremental change to reconstruction quality level. A17 The feature of A14, wherein the separating the set of the transform coefficients into multiple partitions includes splitting the set of the transform coefficients into multiple bitplanes associated with different coefficient segments. A18 The feature of A1, A2, or A3, wherein, to scalably encode the point cloud data, the operations further include or the scalably encoding further includes: separating a set of values into multiple partitions, each of the multiple partitions being associated with a different frame of the point cloud data in one of multiple temporal layers; and for each of the multiple partitions, separately encoding the values of the partition, such that encoded data for the set of the values is separable along the multiple partitions for temporal resolution scalability. A19 The feature of A18, wherein the separately encoding the values of the partition includes performing motion compensation for at least some blocks of the frame relative to a reference frame, and wherein, for the frame, reference frame dependencies are constrained to be within a same layer or lower layer among the multiple temporal layers. A20 The feature of A1, A2, or A3, wherein, to scalably encode the point cloud data, the operations further include or the scalably encoding further includes: separating a set of values into the multiple partitions, the multiple partitions including a common partition and multiple enhancement partitions, each of the multiple enhancement partitions being associated with a different region of a frame of the point cloud data; and for each of the multiple partitions, separately encoding the values of the partition. A21 The feature of A1, A2, or A3, wherein the multiple partitions include multiple first partitions and multiple second partitions, and wherein, to scalably encode the point cloud data, the operations further include or the scalably encoding further includes: separating, into the multiple first partitions, a set of values, the multiple first partitions facilitating one of temporal scalability, spatial random access scalability, spatial resolution scalability, and signal-to-noise ratio (“SNR”) scalability; separating, into the multiple second partitions, one of the first partitions, the multiple second partitions facilitating a different one of spatial random access scalability, spatial resolution scalability, and SNR scalability. B. Scalable Decompression of Point Cloud Data Using an Inverse RAHT B1 In a computer system, a method comprising: receiving, as part of a bitstream, encoded data that is separable along multiple partitions; scalably decoding at least some of the multiple partitions of the encoded data to reconstruct point cloud data, the point cloud data comprising multiple points in three- dimensional (“3D”) space, each of the multiple points being associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point, wherein the scalably decoding the encoded data includes: applying an inverse transform to transform coefficients for attributes of occupied points among the multiple points, wherein the inverse transform is an inverse orthonormal transform or an inverse biorthogonal transform; and storing the reconstructed point cloud data. B2 One or more computer-readable media storing computer-executable instructions for causing a computer system, when programmed thereby, to perform operations comprising: receiving, as part of a bitstream, encoded data that is separable along multiple partitions; scalably decoding at least some of the multiple partitions of the encoded data to reconstruct point cloud data, the point cloud data comprising multiple points in three- dimensional (“3D”) space, each of the multiple points being associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point, wherein the scalably decoding the encoded data includes: applying an inverse transform to transform coefficients for attributes of occupied points among the multiple points, wherein the inverse transform is an inverse orthonormal transform or an inverse biorthogonal transform; and storing the reconstructed point cloud data. B3 A computer system comprising: an input buffer configured to receive, as part of a bitstream, encoded data that is separable along multiple partitions; a decoder configured to scalably decode at least some of the multiple partitions of the encoded data to reconstruct point cloud data, the point cloud data comprising multiple points in three-dimensional (“3D”) space, each of the multiple points being associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point, wherein the decoder is configured to scalably decode the encoded data by performing operations that include: applying an inverse transform to transform coefficients for attributes of occupied points among the multiple points, wherein the inverse transform is an inverse orthonormal transform or an inverse biorthogonal transform; and an output buffer configured to store the reconstructed point cloud data. B4 The feature of B1, B2, or B3, wherein the inverse transform is an inverse region- adaptive hierarchical transform. B5 The feature of B1, B2, or B3, wherein the encoded data includes encoded data for a set of values that is separable along the multiple partitions for spatial random access scalability, each of the multiple partitions being associated with a different region of a frame of the point cloud data, and wherein, to scalably decode the encoded data, the operations further include or the scalably decoding further includes: for each of two or more of the multiple partitions, separately decoding the values of the partition; and aggregating the decoded values of the respective partitions. B6 The feature of B4, wherein the set of values is: a set of the transform coefficients produced by transform; quantized versions of the set of transform coefficients produced by the transform; or a set of the multiple points of the point cloud data, in which case the separately decoding includes the applying the inverse transform to transform coefficients for attributes of occupied points among the multiple points. B7 The feature of B4, wherein the multiple partitions are uniform in size. B8 The feature of B4, wherein the multiple partitions are non-uniform in size. B9 The feature of B4, wherein the multiple partitions are associated with different objects, respectively, in the frame, and wherein, to scalably decode the point cloud data, the operations further include or the scalably decoding further includes: compositing the different objects into the frame. B10 The feature of B1, B2, or B3, wherein the encoded data includes encoded data for a set of values that is separable along the multiple partitions for spatial resolution scalability, each of the multiple partitions being associated with a different spatial resolution of the point cloud data, and wherein, to scalably decode the encoded data, the operations further include or the scalably decoding further includes: for each of two or more of the multiple partitions, separately decoding the values of the partition; and aggregating the decoded values of the respective partitions. B11 The feature of B9, wherein the set of values is: a set of the transform coefficients produced by transform; or quantized versions of the set of transform coefficients produced by the transform. B12 The feature of B10, wherein the multiple partitions are uniform in terms of incremental change to spatial resolution. B13 The feature of B10, wherein the multiple partitions are non-uniform in terms of incremental change to spatial resolution. B14 The feature of B1, B2, or B3, wherein the encoded data includes encoded data for a set of transform coefficients that is separable along the multiple partitions for signal-to- noise ratio (“SNR”) scalability, each of the multiple partitions being associated with a different reconstruction quality level, and wherein, to scalably decode the encoded data, the operations further include or the scalably decoding further includes: for each of two or more of the multiple partitions, separately decoding coefficient segments of the transform coefficients for the partition; and aggregating the decoded coefficient segments of the respective partitions. B15 The feature of B13, wherein the multiple partitions are uniform in terms of incremental change to quality level. B16 The feature of B13, wherein the multiple partitions are non-uniform in terms of incremental change to quality level. B17 The feature of B13, wherein the multiple partitions are multiple bitplanes, and wherein the aggregating the decoded coefficient segments includes combining different decoded coefficient segments from the multiple bitplanes, respectively. B18 The feature of B1, B2, or B3, wherein the encoded data includes encoded data for a set of values that is separable along the multiple partitions for temporal resolution scalability, each of the multiple partitions being associated with a different frame of the point cloud data in one of multiple temporal layers, and wherein, to scalably decode the encoded data, the operations further include or the scalably decoding further includes: for each of two or more of the multiple partitions, separately decoding the values of the partition; and aggregating the decoded frames of the respective partitions. B19 The feature of B17, wherein the separately decoding the frame associated with the partition includes performing motion compensation for at least some blocks of the frame relative to a reference frame, and wherein, for the frame, reference frame dependencies are constrained to be within a same layer or lower layer among the multiple temporal layers. C. Bitstream Manipulation C1 In a computer system, a method comprising: receiving, as part of a bitstream, encoded data that is separable along multiple partitions; selecting one or more of the multiple partitions; and reorganizing the encoded data to include the selected one or more partitions, wherein the reorganized encoded data is decodable by decoding operations to reconstruct point cloud data, the point cloud data comprising multiple points in three- dimensional (“3D”) space, each of the multiple points being associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point, wherein the decoding operations include applying an inverse transform to transform coefficients for attributes of occupied points among the multiple points, and wherein the inverse transform is an inverse orthonormal transform or an inverse biorthogonal transform. C2 One or more computer-readable media storing computer-executable instructions for causing a computer system, when programmed thereby, to perform processing comprising: receiving, as part of a bitstream, encoded data that is separable along multiple partitions; selecting one or more of the multiple partitions; and reorganizing the encoded data to include the selected one or more partitions, wherein the reorganized encoded data is decodable by decoding operations to reconstruct point cloud data, the point cloud data comprising multiple points in three- dimensional (“3D”) space, each of the multiple points being associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point, wherein the decoding operations include applying an inverse transform to transform coefficients for attributes of occupied points among the multiple points, and wherein the inverse transform is an inverse orthonormal transform or an inverse biorthogonal transform. C3 A computer system comprising: an input buffer configured to receive, as part of a bitstream, encoded data that is separable along multiple partitions; a partition selector configured to select one or more of the multiple partitions; and a bitstream manipulation tool configured to reorganize the encoded data to include the selected one or more partitions, wherein the reorganized encoded data is decodable by decoding operations to reconstruct point cloud data, the point cloud data comprising multiple points in three-dimensional (“3D”) space, each of the multiple points being associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point, wherein the decoding operations include applying an inverse transform to transform coefficients for attributes of occupied points among the multiple points, and wherein the inverse transform is an inverse orthonormal transform or an inverse biorthogonal transform. C4 The feature of C1, C2, or C3, wherein, to reorganize the encoded data, the bitstream manipulation tool is configured to perform one or more of, or the reorganizing further includes one or more of: dropping a non-selected partition among the multiple partitions; moving one of the selected one or more partitions; and combining two or more of the selected one or more partitions. C5 The feature of C1, C2, or C3, wherein, the reorganized encoded data is part of an output bitstream, and wherein the output bitstream is a scalable bitstream. C6 The feature of C1, C2, or C3, wherein, the reorganized encoded data is part of an output bitstream, and wherein the output bitstream is a non-scalable bitstream.

In view of the many possible embodiments to which the principles of the disclosed invention may be applied, it should be recognized that the illustrated embodiments are only preferred examples of the invention and should not be taken as limiting the scope of the invention. Rather, the scope of the invention is defined by the following claims. We therefore claim as our invention all that comes within the scope and spirit of these claims. 

We claim:
 1. A computer system comprising: an input buffer configured to receive point cloud data comprising multiple points in three-dimensional (“3D”) space, each of the multiple points being associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point; an encoder configured to scalably encode the point cloud data with multiple partitions, thereby producing encoded data that is separable along the multiple partitions for scalable decoding, by performing operations that include: applying a transform to attributes of occupied points among the multiple points, thereby producing transform coefficients, wherein the transform is an orthonormal transform or a biorthogonal transform; and an output buffer configured to store, as part of a bitstream for output, the encoded data that is separable along the multiple partitions.
 2. The computer system of claim 1, wherein the transform is a region-adaptive hierarchical transform.
 3. The computer system of claim 1, wherein, to scalably encode the point cloud data, the operations further include: separating a set of values into the multiple partitions, each of the multiple partitions being associated with a different region of a frame of the point cloud data; and for each of the multiple partitions, separately encoding the values of the partition, such that encoded data for the set of the values is separable along the multiple partitions for spatial random access scalability.
 4. The computer system of claim 3, wherein the set of values is: a set of the transform coefficients produced by the transform; quantized versions of the set of transform coefficients produced by the transform; or a set of the multiple points of the point cloud data, in which case the separately encoding includes the applying the transform to attributes of occupied points among the multiple points of the set.
 5. The computer system of claim 3, wherein the multiple partitions are associated with different objects, respectively, in the frame, and wherein, to scalably encode the point cloud data, the operations further include: segmenting the frame into the different objects.
 6. The computer system of claim 1, wherein, to scalably encode the point cloud data, the operations further include: separating a set of values into the multiple partitions, each of the multiple partitions being associated with a different spatial resolution of the point cloud data; and for each of the multiple partitions, separately encoding the values of the partition, such that encoded data for the set of the values is separable along the multiple partitions for spatial resolution scalability.
 7. The computer system of claim 6, wherein the set of values is: a set of the transform coefficients produced by the transform; or quantized versions of the set of transform coefficients produced by the transform.
 8. The computer system of claim 1, wherein, to scalably encode the point cloud data, the operations further include: quantizing the transform coefficients produced by the transform; separating a set of the transform coefficients into the multiple partitions, each of the multiple partitions being associated with a different reconstruction quality level; and for each of the multiple partitions, separately encoding coefficient segments of the transform coefficients for the partition, such that encoded data for the set of the transform coefficients is separable along the multiple partitions for signal-to-noise ratio (“SNR”) scalability.
 9. The computer system of claim 8, wherein the separating the set of the transform coefficients into multiple partitions includes splitting the set of the transform coefficients into multiple bitplanes associated with different coefficient segments.
 10. The computer system of claim 1, wherein, to scalably encode the point cloud data, the operations further include: separating a set of values into multiple partitions, each of the multiple partitions being associated with a different frame of the point cloud data in one of multiple temporal layers; and for each of the multiple partitions, separately encoding the values of the partition, such that encoded data for the set of the values is separable along the multiple partitions for temporal resolution scalability.
 11. The computer system of claim 10, wherein the separately encoding the values of the partition includes performing motion compensation for at least some blocks of the frame relative to a reference frame, and wherein, for the frame, reference frame dependencies are constrained to be within a same layer or lower layer among the multiple temporal layers.
 12. The computer system of claim 1, wherein, to scalably encode the point cloud data, the operations further include: separating a set of values into the multiple partitions, the multiple partitions including a common partition and multiple enhancement partitions, each of the multiple enhancement partitions being associated with a different region of a frame of the point cloud data; and for each of the multiple partitions, separately encoding the values of the partition.
 13. The computer system of claim 1, wherein the multiple partitions include multiple first partitions and multiple second partitions, and wherein, to scalably encode the point cloud data, the operations further include or the scalably encoding further includes: separating, into the multiple first partitions, a set of values, the multiple first partitions facilitating one of temporal scalability, spatial random access scalability, spatial resolution scalability, and signal-to-noise ratio (“SNR”) scalability; separating, into the multiple second partitions, one of the first partitions, the multiple second partitions facilitating a different one of spatial random access scalability, spatial resolution scalability, and SNR scalability.
 14. In a computer system, a method comprising: receiving, as part of a bitstream, encoded data that is separable along multiple partitions; scalably decoding at least some of the multiple partitions of the encoded data to reconstruct point cloud data, the point cloud data comprising multiple points in three-dimensional (“3D”) space, each of the multiple points being associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point, wherein the scalably decoding the encoded data includes: applying an inverse transform to transform coefficients for attributes of occupied points among the multiple points, wherein the inverse transform is an inverse orthonormal transform or an inverse biorthogonal transform; and storing the reconstructed point cloud data.
 15. The method of claim 14, wherein the inverse transform is an inverse region-adaptive hierarchical transform.
 16. The method of claim 14, wherein the encoded data includes encoded data for a set of values that is separable along the multiple partitions for spatial random access scalability, each of the multiple partitions being associated with a different region of a frame of the point cloud data, and wherein the scalably decoding further includes: for each of two or more of the multiple partitions, separately decoding the values of the partition; and aggregating the decoded values of the respective partitions.
 17. The method of claim 14, wherein the encoded data includes encoded data for a set of values that is separable along the multiple partitions for spatial resolution scalability, each of the multiple partitions being associated with a different spatial resolution of the point cloud data, and wherein the scalably decoding further includes: for each of two or more of the multiple partitions, separately decoding the values of the partition; and aggregating the decoded values of the respective partitions.
 18. The method of claim 14, wherein the encoded data includes encoded data for a set of transform coefficients that is separable along the multiple partitions for signal-to-noise ratio (“SNR”) scalability, each of the multiple partitions being associated with a different reconstruction quality level, and wherein the scalably decoding further includes: for each of two or more of the multiple partitions, separately decoding coefficient segments of the transform coefficients for the partition; and aggregating the decoded coefficient segments of the respective partitions.
 19. The method of claim 14, wherein the encoded data includes encoded data for a set of values that is separable along the multiple partitions for temporal resolution scalability, each of the multiple partitions being associated with a different frame of the point cloud data in one of multiple temporal layers, and wherein the scalably decoding further includes: for each of two or more of the multiple partitions, separately decoding the values of the partition; and aggregating the decoded frames of the respective partitions.
 20. One or more computer-readable media storing computer-executable instructions for causing a computer system, when programmed thereby, to perform operations comprising: receiving, as part of a bitstream, encoded data that is separable along multiple partitions; selecting one or more of the multiple partitions; and reorganizing the encoded data to include the selected one or more partitions, wherein the reorganized encoded data is decodable by decoding operations to reconstruct point cloud data, the point cloud data comprising multiple points in three-dimensional (“3D”) space, each of the multiple points being associated with an indicator of whether the point is occupied and, if the point is occupied, an attribute of the occupied point, wherein the decoding operations include applying an inverse transform to transform coefficients for attributes of occupied points among the multiple points, and wherein the inverse transform is an inverse orthonormal transform or an inverse biorthogonal transform. 